4 ms·
> The serializers, http servers, etc. are probably not worth the squeeze to force into a functional domain. I used to think the same, but having now tried FP-
by de_keyboard 5y ago
> The serializers, http servers, etc. are probably not worth the squeeze to force into a functional domain.
I used to think the same, but having now tried FP-style libraries for serializers (Thoth.Json) and HTTP servers (Suave), I think they are far superior to imperative or OOP alternatives. The ability to design these things in a declarative style makes the code much more robust and easier to read.
- JaggerJo 5y ago+1
- dustingetz 5y agoFP is better on a 30 year timeframe but on a next-quarter timeframe probably still has not "crossed the chasm" – you need not just something accessible like ZIO but you need to figure out what it's killer app is, which the FP community currently doesn't have a clue. "HTTP server but more declarative and made with monads" is not something people cannot live without
- de_keyboard 5y agoI think this depends on the relative weights you assign to learning a new language and program correctness.