Why should you learn an FP lang? Almost every programming language feature you love was invented in an FP lang decades before it became mainstream: - Garbage collection (lisp, 1950s) - Generics (ML, 1978) - Closures (scheme 1975) - Sum types and pattern matching (NPL 1970s)
13
20
270
16K
63
Garbage collection became mainstream with Java in the 90s, 40 years after it was invented. Generics became mainstream as C++ templates in the 90s. Closures became mainstream in the 90s too with JavaScript
Part of the reason I'm fascinated by FP is that I wanna try out the cool and experimental features which could be the future of how we write code