Java 8: No more loops
deadcoderising.com
Java 8: No more loops
1–10 of 99 posts
Re: Java 8: No more loops
#2Re: Java 8: No more loops
#3Re: Java 8: No more loops
#4tagList = articles.tags.@flatten.@unique.@sort
Re: Java 8: No more loops
#5Re: Java 8: No more loops
#6Re: Java 8: No more loops
#7I really want to like functional programming, but the functional version of each of these seems less readable and more verbose.
I have to read the underscore.js documentation every time I am using it :(.
Re: Java 8: No more loops
#8I really want to like functional programming, but the functional version of each of these seems less readable and more verbose.
I guess this is why Microsoft diverged from the "standard" names like 'map', 'collect' and 'filter' in favour of more human-oriented SQL-like LINQ: 'select', 'where', 'toList'. I have to read the underscore.js documentation every time I am using it :(.
I think it comes from FP's rooting in mathematics, and math is itself unnecessarily arcane.
Re: Java 8: No more loops
#9Re: Java 8: No more loops
#10I really want to like functional programming, but the functional version of each of these seems less readable and more verbose.