News for hackers. Stuff that matters.
Re:Application-as-a-Function Thinking by AugustoCAS on Sunday October 16, 2022 @04:50AM (#33222172)
I think you are right. If the response would be a promise or similar, it would become a reactive system.

Disclaimer, I've avoided using reactive approaches as much as I can on the server side as it increases the complexity (and cognitive load) and makes diagnosing issues harder. This is my experience in the JVM world, I'm not sure how it is in other languages/platforms.

[This article](https://netflixtechblog.com/zuul-2-the-netflix-journey-to-as...) from Netflix mentions the tradeoffs they experienced when they re-engineered their API gateway to be reactive. I wonder if this is still valid as the article was written 6 years ago.

Re:Application-as-a-Function Thinking by the_gipsy on Sunday October 16, 2022 @08:50AM (#33223201)
Reactive.js is hellish too. Elm (basically The Article) dropped it too in favor of this simpler approach, but keeping some interesting parts.