3 ms·
It turns out there's a good blog article that explains why the less enterprisey way is better since it remove the iteration loop of the collection and lets the
by jebblue 13y ago
It turns out there's a good blog article that explains why the less enterprisey way is better since it remove the iteration loop of the collection and lets the computer [figure out how to express the sum of weights of the red objects in a collection of blocks]:
http://blog.hartveld.com/2013/03/jdk-8-33-stream-api.html http://blog.hartveld.com/2013/03/jdk-8-33-stream-api.html
I've been around too long to trust the computer to figure out how best to do something. If I'm wrong then Java 8 leads the way to the end of programmers, similar to how robotics mostly ended how cars were manufactured.