---
title: "Discussion on \"12 Common uses of Java Streams\" | Hashnode"
description: "Discussion on \"12 Common uses of Java Streams\". 12 Common uses of Java Streams with code examples"
url: "https://hashnode.com/posts/12-common-uses-of-java-streams/6228581b67104e8316e3fffa"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [12 Common uses of Java Streams](https://blog.abhinavpandey.dev/12-common-uses-of-java-streams?utm_source=hashnode&utm_medium=feed)

12 Common uses of Java Streams with code examples

Mar 9, 2022 · 6 min read · blog.abhinavpandey.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#backend](https://hashnode.com/tag/backend)
-   [#codenewbies](https://hashnode.com/tag/codenewbies)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Abhinav Pandey](https://hashnode.com/@abh1navv)

@abh1navv

  
[View profile](https://hashnode.com/@abh1navv)

Senior Software Engineer

## Responses 1

Markdown supported · ⌘↵ to post

[Shai Almog](https://hashnode.com/@talktotheduck)

[Mar 9, 2022](https://hashnode.com/posts/12-common-uses-of-java-streams/6228581b67104e8316e3fffa/comment/6228666d67104e8316e402a1)

Nicely written!

While I generally like streams and use them. I feel there's a case of "over use". A lot of times the code isn't less verbose. It also forces us to use objects which is sometimes slower than primitives (until we get Valhalla at least).

Also some chaining makes the code less readable. Worse, it's usually harder to debug... The specialized debugging tools are "nice" but they aren't nearly as powerful/simple as debugging a loop.

I agree that `parallelStream` shouldn't be in a common use case. But it probably should be mentioned in the advantages.
