Sometimes it’s the little improvements in your workflow that give you the most satisfaction and you wonder why you hadn’t made the change earlier. For me, configuring Wake-On-LAN (WOL) on my desktop PC has been one of those improvements.
It allows me to boot my PC on a schedule during weekdays and there are many mobile apps that allow you to send the wake command from your phone.
It is common knowledge that modifying the prototype of built-in JavaScript objects (Array, String, HTMLElement, etc.) is a bad idea.
Prototype.js, one of the first popular JavaScript frameworks of the AJAX era, made heavy use of extending the DOM, but then came jQuery and pretty much killed it, because it wrapped everything in $() instead of extending prototypes, which is safer in terms of compatibility with other libraries and browser updates.
As you probably know, block-scoping using let is being introduced in the ECMAScript 6 standard. But why is this even neccesary? A lot of people seem confused about this.
Should we go ahead and replace every occurence of var with let now?