Re:What I wish I knew when learning F#
by JaggerJo on Thursday October 14, 2021 @09:29AM
(#28863966)
+1
Re:What I wish I knew when learning F#
by dustingetz on Thursday October 14, 2021 @09:30AM
(#28863981)
FP 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
Re:What I wish I knew when learning F#
by de_keyboard on Thursday October 14, 2021 @09:46AM
(#28864123)
I think this depends on the relative weights you assign to learning a new language and program correctness.
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.