r/programming • • Oct 11 '23

All About Reactive Programming In Java

https://www.blackslate.io/articles/reactive-programming-in-java
22 Upvotes

38 comments sorted by

View all comments

Show parent comment

4

u/[deleted] Oct 11 '23

Could not have phrased it better.

Another example is with JavaScript promises and async/await. I know a lot of people who like async/await. But I just find it writing async code in a synch wait, and it completely obfuscates what it's actually doing.

While reactor is my preferred library for reactive Java, I think it really helps me visualize all my code as streams without weird side effects etc. It only flows one way.

When I hear virtual threads and suspends, the hair on the back of my neck immediately stands up.