3 ms·
> Java's language philosophy is simple - everything must be an object. This simplifies a lot of things. Everything except primitive types, functions, and array
by thaumasiotes 4y ago
> Java's language philosophy is simple - everything must be an object. This simplifies a lot of things.
Everything except primitive types, functions, and arrays (of any type). The different status of arrays can be a real pain.
Ruby says the same thing, and they're even worse about functions behaving differently than objects do.