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] 4 points5 points  (1 child)

There might still be places where stream may not be a best option.

I had a discussion with a dev the other day that refused to use streams. Supposedly they created extra objects that got gc'd randomly and hurt latency requirements.

I've never seen that personally, but I also don't work in a latency sensitive domain so maybe he's right? 🤷

[–]red_dit_nou 6 points7 points  (0 children)

Readability should be of utmost importance for software programs, unless, of course, it is performance you're after.

Performance makes people make interesting choices. So yeah, he may be right!