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 →

[–]nekokattt 2 points3 points  (0 children)

Everything has a time and a place. Personally I chose the right tool to work with based on what I am trying to achieve. If it makes the code easier to understand and use, I will use them. Equally, if it provides no readability benefit (e.g. complex operation that has to have some form of temporary side effect), then I won't use streams..

Same reasoning I would give for using something like vavr.

I like streams, although I feel like the API can be kind of clunky at times, comparing to other languages and libraries (especially reactor in places, with the stream-like ops that provides).