5 ms·
+1 for periodic re-examination of best practices.
by svmegatron 12y ago
+1 for periodic re-examination of best practices.
- pjmlp 12y agoThe problem is to make them visible, specially to beginners.
- bluejellybean 12y agoI agree with this, I had no idea about the "good" practice in the first example. Is there any decent place that I can get truly up-to-date practices?
- benjaminpv 12y agoYou might argue that the HTML 5 Boilerplate[1] is a good starting place for learning about best practices. The code & accompanying site contain a lot of comments that explain why things are the way they are. Problem is, of course, that the technologies used by a common page nowadays go far beyond the stuff present in H5B. [1]: http://html5boilerplate.com/ http://html5boilerplate.com/
- grrowl 12y agoIt's as important for the updated best practice to be taught to novices, and as important for industry leaders (such as Facebook[1]) to update their current code, which reflects the first (outdated best practice) example in the article. [1]: https://developers.facebook.com/docs/javascript/quickstart/v2.0 https://developers.facebook.com/docs/javascript/quickstart/v...