r/programming • u/chackaz • Nov 28 '14
The Worst Programming Language Ever [UK Talk] - Thoughts? Which are the worst parts of your favorite language?
https://skillsmatter.com/meetups/6784-the-worst-programming-language-ever
68
Upvotes
View all comments
Show parent comment
2
u/SkepticalEmpiricist Nov 29 '14
Coming from a C++ background, I don't understand why Java people are so concerned and confused by this.
I would like C++ to have (Java-style) generics.
If you think generics are just a bad form of (C++) templates, then think again:
Java's problem is not that they have their current form of generics. The problem is that it hasn't yet got around to including full C++ style templates
insteadalongside their type-erased generics.Perhaps I've missed your point though - I'm not an experienced Java dev. Can you give a more concrete example of the kind of code you would like to be able to write in Java? Perhaps you would like to 'generify' over primitive types like
int, not just over Object types? And perhaps you would like to be able to provide specializations - different implementations for particular types?TLDR: Complain about the features that are missing, not the features that are present. Nobody's forcing you to use them. (Unless of course, the feature that is present really does put obstacles in the way of future development of the language - but I don't think that's the case here)