DEV Community

Discussion on: Rethinking JavaScript: The complete elimination and eradication of JavaScript's this.

Collapse
 
lluismf profile image
Lluís Josep Martínez

Maybe you should a pure functional language, and your problems will go away. What will be next, get rid of loops? :-)

Collapse
 
joelnet profile image
JavaScript Joel

I have considered it. I am looking closely at ELM right now. a very interesting language.

I think JavaScript lends itself very well to a function reactive paradigm and the code I write is completely free of this. There are times when I import a 3rd party library that forces me to write this to use their api and that makes me sad.

btw, the for loop died a while back in my article Rethinking JavaScript: Death of the For Loop