r/programming • • Feb 22 '15

Java Makes Programmers Want To Do Absolutely Anything Else With Their Time

http://www.forbes.com/sites/quora/2015/02/21/java-makes-programmers-want-to-do-absolutely-anything-else-with-their-time/
35 Upvotes

636 comments sorted by

View all comments

Show parent comments

3

u/TomRK1089 Feb 22 '15

You have your diamonds backwards. The diamond operator infers the RHS type based on the LHS declaration. It annoys some people; I don't particularly mind.

1

u/nickguletskii200 Feb 22 '15

Woups... Thank you, fixed it.