Re:Composing Programs – An introduction to programming in th...
by hannofcart on Tuesday July 31, 2018 @02:54PM
(#17655945)
Most of the issues I find people annoyed with in JS are becoming less of an issue with modern idiomatic JS that is less object oriented, more functional and with ES6 utilities replacing more troublesome legacy idioms. I work on a fairly large app that uses little no classes. Also, I haven't had to use hasOwnProperty in a year! I just use Object.keys()
Edit: or was it that I initialized them at time of declaration rather than in the constructor? Not sure. Something along those lines.