4 ms·
While I agree with you, I think, in general, it’s functional patterns that people are after but not necessarily pure functional programming which I’d argue ofte
by nrabulinski 5y ago
While I agree with you, I think, in general, it’s functional patterns that people are after but not necessarily pure functional programming which I’d argue often times still is weird and counterintuitive (at least to people who have started with imperative paradigms in a procedural or object oriented language).
JavaScript isn’t a functional language, neither are Rust nor Go (and Go in general is probably one that the least bets on functional patterns all around), they all just provide constructs from functional languages like mapping arrays.
- iammisc 5y agoI vehemently disagree that JS, Rust, and Go are not functional languages. We have no problem classifying C++ as OOP despite it being an equally good procedural language. For some reason, we don't extend the same benefit to FP because it's foreign. It's true that JS, Rust and Go are multi-paradigm languages (so is Haskell and other FP BTW), but FP is one of those paradigms.