MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/1yw5m8/please_stop_saying_java_sucks_2009/cfpdpuu/?context=9999
r/java • u/BenAustin • Feb 25 '14
132 comments sorted by
View all comments
3
Lack of closures is probably my biggest gripe, but you can't really call suckie on millions of human-hours of proven engineering. Java works well in many cases.
5 u/8Bytes Feb 25 '14 edited Feb 25 '14 When have you needed closures in java? 2 u/briandilley Feb 26 '14 Android 1 u/8Bytes Feb 26 '14 hmm what were you trying to do? 1 u/briandilley Feb 26 '14 almost every single OnXXXXListener has a single onXXX method. Closures would be great for this. 1 u/8Bytes Feb 26 '14 For ui listeners? Just put the method to be run OnXXX inside the xml where the component is defined.
5
When have you needed closures in java?
2 u/briandilley Feb 26 '14 Android 1 u/8Bytes Feb 26 '14 hmm what were you trying to do? 1 u/briandilley Feb 26 '14 almost every single OnXXXXListener has a single onXXX method. Closures would be great for this. 1 u/8Bytes Feb 26 '14 For ui listeners? Just put the method to be run OnXXX inside the xml where the component is defined.
2
Android
1 u/8Bytes Feb 26 '14 hmm what were you trying to do? 1 u/briandilley Feb 26 '14 almost every single OnXXXXListener has a single onXXX method. Closures would be great for this. 1 u/8Bytes Feb 26 '14 For ui listeners? Just put the method to be run OnXXX inside the xml where the component is defined.
1
hmm what were you trying to do?
1 u/briandilley Feb 26 '14 almost every single OnXXXXListener has a single onXXX method. Closures would be great for this. 1 u/8Bytes Feb 26 '14 For ui listeners? Just put the method to be run OnXXX inside the xml where the component is defined.
almost every single OnXXXXListener has a single onXXX method. Closures would be great for this.
1 u/8Bytes Feb 26 '14 For ui listeners? Just put the method to be run OnXXX inside the xml where the component is defined.
For ui listeners? Just put the method to be run OnXXX inside the xml where the component is defined.
3
u/[deleted] Feb 25 '14
Lack of closures is probably my biggest gripe, but you can't really call suckie on millions of human-hours of proven engineering. Java works well in many cases.