And that my friend is why I switched to C#. Java is nice and familiar but godamn it is just too inconsistent for me. String and int? Christ on a stick just pick a capitalization scheme please!
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
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.
186
u/[deleted] Sep 23 '19
Warnings are, generally speaking, as important as errors. They are errors waiting to happen.