Debugging Code by Deliberately Breaking it

A lot of the time, inexperienced or overly cautious developers will tinker, theorise and worry about fixes and finding solutions to bugs or challenges during development. Sometimes it is faster and easier to just begin deliberately breaking code. This is not counter-productive and can be a powerful development practice to more efficiently work through problems. By deliberately breaking a function or a page early on in the code, and slowly re-enabling.. Read More

How to Defer Loading of Javascript

When a webpage loads a JavaScript file (inside a typical <script> tag), it must download the script, parse it and execute it wherever it sits within the HTML before continuing to render the rest of the HTML page. So the more <script> tags, the longer a page will take to load. The higher up a page that the scripts are included means a smaller amount of the page UI will be loaded.. Read More