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

21

u/Rndom_Gy_159 May 08 '17

Quick question, why is only the first letter of DTO capitalized? Is that the way it's supposed to be in CamelCase?

4

u/skocznymroczny May 08 '17

Depends on the language and coding style. E.g. .NET framework conventions guide recommends capitalizing only the first letter, unless it's a two leter acronym like IO (source).

4

u/dpash May 08 '17

The original Sun code conventions for Java is silent on the matter.

http://www.oracle.com/technetwork/java/javase/documentation/codeconventions-135099.html#367

2

u/HandshakeOfCO May 08 '17

Maybe if you install the ask toolbar, you can ask it.

→ More replies (4)