3 ms·
The design principle behind Java is "don't add features that could confuse programmers". (This confuses me, a programmer, but that is a bit too meta for this p
by jrockway 17y ago
The design principle behind Java is "don't add features that could confuse programmers". (This confuses me, a programmer, but that is a bit too meta for this post.)
Despite this principle, Java's users asked for generics, and so the language designers added them. But with a twist; they intentionally made the simple concept very confusing. This is so that the next time someone asks for a feature, they can point at generics and say "look at how badly we broke that! do you really want us adding more features?" A few episodes like this (closures will be next), and people won't ask for features anymore. With no more feature requests, it will become clear that Java Is Perfect, and the designers can retire with a very smug feeling of self-superiority.
I think.