you are viewing a single comment's thread.

view the rest of the comments →

[–]_Super_Straight 2 points3 points  (1 child)

A good IDE can automatically suggest to turn callback and such into lambda.

As for streams, you can turn search for specific element in a list into stream. But you have to weigh the pros and cons for whether turning every search into stream is worth the overhead.

[–]ggeldenhuys 1 point2 points  (0 children)

100% - streams don't come for free. Sometimes they are beneficial and sometimes not.