Re:Modern Java – A Guide to Java 8
by Cthulhu_ on Monday November 16, 2015 @09:46AM
(#10574670)
Well technically they didn't need them, no - I've been working with for and for-in loops for years before learning other languages (like Scala, JS) that had a .map function that could do the same thing but much more compact and expressive. So their argument isn't wholly invalid, and TBF I'd rather see a regular for-in loop than my colleague's atrocious 200-character oneliners.
[ Parent
| on HN ]
There are no comments on this comment yet.