As I said in another response here, it’s incorrect to compare Java 21 or Kotlin and Java 8. You can rewrite your bloated slow Java 8 code in functional reactive approach in Java 21 as well.
You can make a mistake writing any sort of code. What actually matters if it’s readable enough to catch the bug. I would argue that functional languages is the best option here, especially when we’re talking about about huge enterprise applications on complicated frameworks like Akka or ZIO.
As I said in another response here, it’s incorrect to compare Java 21 or Kotlin and Java 8. You can rewrite your bloated slow Java 8 code in functional reactive approach in Java 21 as well.
You can make a mistake writing any sort of code. What actually matters if it’s readable enough to catch the bug. I would argue that functional languages is the best option here, especially when we’re talking about about huge enterprise applications on complicated frameworks like Akka or ZIO.