re: Map, Filter, Reduce vs For Loops (syntax) VIEW POST


I still fight with this (though in Kotlin, not JavaScript). OOP/procedural style is much convenient, but I do understand importance of declarative coding because it's much more elegant and pure.


I'd like to argue that imperative code isn't any more convenient, but that it is more familiar.

If you had learned a declarative style first you would feel the same way about oop.


Hmmm...probably correct. I have not thought about it in this way.

code of conduct - report abuse