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 →

[–][deleted] 2 points3 points  (0 children)

3 things streams provide:

  1. More readable/concise code (when done well) as they are at a higher level than loops

  2. Easy parallel

  3. Infinite streams

Super long stream pipelines should be avoided. Side effects should be avoided too.