27 ms·
Java does it well, you can easily make good immutable map interface. The problem is with Java Collections which is just a poorly designed library, like most oth
by vbezhenar 9y ago
Java does it well, you can easily make good immutable map interface. The problem is with Java Collections which is just a poorly designed library, like most other standard Java libraries.
I really hope that someone will use JVM with another built from the ground sane library.
The only thing Java misses is covariance/contravariance for generics, but with some unsafe casting it'll work.