r/ProgrammerHumor • • Sep 23 '19

Knowing how to code beforehand

Post image
7.6k Upvotes

264 comments sorted by

View all comments

Show parent comments

16

u/Trackslash Sep 23 '19

Tbf classes and objects are always capitalized in Java (e.g. String, Integer, ArrayList) whereas primitive types are not (int, char, boolean). So it's pretty consistent in that regard

-3

u/[deleted] Sep 23 '19

This is true but every other language I've used lets me leave all my variables lowercase which I prefer.

5

u/Al-Horesmi Sep 23 '19

I'm I'm fairly certain it's a convention in java to have first letter in lowercase and the rest in cammelcase. It's the type names people are talking here.

2

u/EternallyMiffed Sep 23 '19

Capitalization being used as an adhoc hungarian notation is fucking retarded.