DEV Community

Discussion on: Why do we write JavaScript like this?

Collapse
 
johnkazer profile image
John Kazer

If concerned about performance over functional clarity should we be even using JavaScript? Rather than web assembly?

Collapse
 
anders profile image
Anders

That may certainly be an option if you do bot need to support older browsers. My focus here though was specifically JavaScript patterns. I think we can all agree that JS isn't exactly the perfect language.