4 ms·
>int bool String Object Why do some types start with lowercase and some with uppercase letter. Why not use a sensible naming convention? Primitives
by jurre 15y ago
>int
bool
String
Object
Why do some types start with lowercase and some with uppercase letter. Why not use a sensible naming convention?
Primitives and objects, it kind of makes sense but I do see your point.
- nene 15y agoBut the thing is, they are not primitives: > Although you might expect int and double to be primitive types, they're actually interfaces that extend the num interface. This means that int and double variables are also nums.
- nathanwdavis 15y agoThat's actually kind of like Haskell.