Re:C++ Pattern Matching Proposal [pdf]
by vmchale on Friday January 03, 2020 @10:19AM
(#21946577)
Functional programming seems to be taking on the world (J inspiring NumPy, ML features being used everywhere).
[ Parent
| on HN ]
Functional languages are nowhere to be seen compared to the rest.
Some subset of features inspired in them are used in some languages, but that has nothing to do with functional programming taking over.
Honestly even if we're far from FP as mainstream (which I don't even wish). I woudln't have bet a dollar that so much features from lisp/ml would have crossed over this fast (I mean destruct, lambda, rest args, immutable let by default, option chaining ..).
> option chaining
Where'd that come from? I thought that was monadic-do from Haskell.
well I include haskell is the ml family (I admit it's twisting the words)
With Hooks, React has gone full FP, so, basically, the war is lost. Try finding a bootcamp programmer that wasn't taught React.
Sure, you can still build object components, but it's informally frowned upon.
How is React or hooks "full FP"?
I think we have wildy different definitions of FP.