3 ms·
I think by object he means "reference type" - the only good thing about Java's primitives is that at least it has some value types somewhere! Almost every deci
by astrange 5y ago
I think by object he means "reference type" - the only good thing about Java's primitives is that at least it has some value types somewhere!
Almost every decision in Java feels like it was chosen to waste memory. Even using less than int size ints is hard, because it makes you write explicit casts everywhere, which doesn't prevent bugs, but then makes overflow wrap silently, which encourages them.
- oriolid 5y agoYes, "everything is a reference type" describes better what I was thinking. And also, "functions are classes, not objects".