3 ms·
Java was one of these Ivory tower languages created at a big corporation, Sun Microsystems. Not unlike Go is today with Google. They will never add obvious fe
by codeonfire 9y ago
Java was one of these Ivory tower languages created at a big corporation, Sun Microsystems. Not unlike Go is today with Google. They will never add obvious features because of corporate bureacracy. And, adding a feature is admitting the language is not perfect. Usually it takes several decades after the language creators are long gone to add obvious features. There is no issue with literal a, just dogma. They are evaluated at compile time in Java, so how could there be perf issues. Most people use something other than Java to get list, map, an set literals.