News for hackers. Stuff that matters.
Re:Some HTML, CSS and ES2015 Best Practices by mattchamb on Wednesday February 25, 2015 @04:28AM (#9105990)
Lots of "whats", not many "whys"

Is there any explanation for the reason for a lot of these things?

Re:Some HTML, CSS and ES2015 Best Practices by benjamindc on Wednesday February 25, 2015 @04:33AM (#9106001)
Yup, I guess I should just be a bit less lazy and give a bit more context for each section :)

Some things are just personal preferences and some things are just completely subjective. Overall, though, these advices tend to make front-end code better. The JS part, for example, is largely based on functional programming best practices. Things like immutability, statelessness and the point about JS performance aren't subjective: they'll basically always improve your code's quality.