Yannick L.’s Post

Again, a good article from Sergiy Yevtushenko. Every developer should read this - it's Java, but the lessons are useful in many modern languages. Practical, applied programming tips like many devs appreciate them. These are not just "FP style examples in Java". They are also applied ways of properly decoupling concepts and mechanisms that should remain decoupled, but which traditional OOP languages tend to force us to couple. For example: handling errors with try-catch VS handling errors with Result<>, flatMap() etc. And don't forget to follow Sergiy Yevtushenko, his programming advice is always best of class. #Java #FunctionalProgramming #Programming #Architecture

Sergiy Yevtushenko It's a good article on an important topic, but it would be nice to have an explanation in this article, or some future article, explaining the key differences between Promise and Future. Future is also essentially an async result. And I'm sure Option is better than Optional, but an explanation of the differences here would also be good. Another question: does Promise integrate with the new Java structured concurrency?

Like
Reply

To view or add a comment, sign in

Explore content categories