Message from JavaScript discussions
March 2017
— Since when is golang shortened to js?
Well, I never heard of a language that is never misused. The main reason to js existence is provide flexibility to a static website, so I think it's flexible enough.
I can't think of a technology that it's abuse lead to a new use.
We have mathematics, now we can calculate things that are imposible to observe in the real world. Or physics to create a machine to reach the moon. Electricity to create networks. C, to many language derivates.
It's a perspective.
So, in general idea we use a tool until is useful and we move to better things, now we have JavaScript, soon we will have a better thing, but we would never reach that if we didn't step on JavaScript.
— The core of the problem is a lack of understanding of functional programming imo
— Too many devs only know OOP and regard functional programming as an aside
— Even though you can, and should mix the two in js
— I can tell right away when the dev was lacking in that department and it really does adversely affect a web app
— We need to write more Clojure
— I highly reccomend this book if you don't know functional programming in js https://www.manning.com/books/functional-programming-in-javascript
— Even the first chapter has so much to teach
— Also even more js devs could benefit from learning proper OOP best practices such as unobtrusive js, and the law of demeter
— Is is VERYYYYY easy to bypass the law of demeter in js, by nature of js scope
— All too often js devs take advantage of the antipattern js allows, and that is another contributor to bad js in the wild imo