DEV Community

Discussion on: 9 years on, I still google "javascript for loop"

Collapse
 
devdufutur profile image
Rudy Nappée

Maybe this way of doing could seem a little overkill but has advantages :

  • No mutation
  • Each step in the pipeline of transformation is visible instantly
Thread Thread
 
eljayadobe profile image
Eljay-Adobe

Not overkill in my book. I'm a fan of Elm and F# and Haskell. I think this kind of FP approach will supplant OO in time.