Message from JavaScript discussions
March 2017
— 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
— A great basic example, which is the one I see most commonly, is event listeners (or rather lack of them) in favor of element attributes like onchange
or onclick
— This is incorrect and should never be used
<input type="text" name="date" onchange="validateDate()" />
— I read parts of it at a library and decided it was a bit below my skill level, but I found it to be very well written
— Javascript
A powerful, object-based, interpreted scripting language, created by Brendan Eich, most commonly embedded directly into HTML web pages to manage client-side interaction.
JavaScript is so beautiful and elegant it brings tears to my eyes. I love using it. It completes me as a person.