by sleexyz · 10y ago · 0 comments
It's not even biased towards Haskell; it's biased towards working at Slamdata, where they abuse free monads for everything.
When you write Javascript and use first class functions (ideally without side-effects, but who the fuck really cares), that's functional programming.
Tired of this elitism.
Some of this stuff is cool and interesting, even to me -- but please don't rank people based on their inferiority of knowledge WRT to you, as you are explicitly doing
> When you write Javascript and use first class functions (ideally without side-effects, but who the fuck really cares), that's functional programming.
Sorry but no. Functional programming requires a whole set of new skills that most programmers don't have.
Learning the basics, pure functions, higher order components, immutability, second order functions, first class functions, lambdas, partial application, currying and point-free style. That's functional programming.
I know I have a long way to go before I'm a competent with functional programming, but I thought I at least understood the basic landscape, even if I don't know how to apply it properly yet.
No one is interested in type-safety or purity for their own sake (except for aesthetic reasons). I'm interested in better, cheaper software. If Haskell's purity (there are simpler languages with similar type systems) provides that then there should be evidence of that before the claim is made. You have not provided any such evidence, and even implied that you're not even carefully collecting metrics that can be used to construct such evidence.