|
|
|
|
|
by Dansvidania
649 days ago
|
|
the "FP is for math people" meme IMO is incorrect and comes from FP mainly being used to refer to Pure FP, aka Haskell. While Monads and co. are interesting constructs, I think the main thing with FP (pure or not) is immutability by default. That alone makes code so much easier to think about, in my experience. One can do FP in languages not commonly associated with FP by just not (re)assigning variables. FP languages just make it increasingly hard to do so. |
|