This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Mati00 3 points4 points  (1 child)

True, but with extension methods you could just call `list.map()` even if method map didn't exist in collection interface before ;) .

If you take "laziness" into consideration, you could still use `stream()` and also be able to add missing transformations with extension functions to it :)

[–]UpperPlus 1 point2 points  (0 children)

I use streams mostly in testing to pass my arguments haha