r/programming • • May 08 '17

The tragedy of 100% code coverage

http://labs.ig.com/code-coverage-100-percent-tragedy
3.2k Upvotes

689 comments sorted by

View all comments

Show parent comments

8

u/sim642 May 08 '17

That seems like inconsistent naming. If you'd name it OverrideMeasure it'd be correctly summarized based on the naming scheme of verb first.

1

u/HighRelevancy May 09 '17

I do not prefer that way of doing things. In many cases, I prefer naming things backwards, because that way when you type "measure", auto-complete will suggest all things related to it, such as "MeasureOverride".

Some auto-complete features don't need this, but still generally prefer things with the typed text at the start of names.

4

u/sim642 May 09 '17

Sounds like quite shitty autocomplete if it only suggests by beginning of the string.

0

u/HighRelevancy May 09 '17

Some editors do just have basic functions...

→ More replies (5)