And if I had a gun, with two bullets, and I was in a room with Hitler, Bin Laden and Internet Explorer, I would shoot Internet Explorer twice. When creating HTML elements with jQuery, there is an elegant syntax that was introduced quite a few versions ago. $("<div/>", { id: ‘someDiv’, class: ‘someClass’, text: ‘Some… Read more »
Posts Tagged: programming
The Joys of Merging Code
I consider myself lucky to work at a place where we have someone working QA to ensure the code we’re pushing out isn’t going to blow up. When a development ticket has passed through QA, we get an email to let us know. Usually saving the task of merging code until the end of the… Read more »
No, PHP Errors and Notices Do Not Need to be Encoded
Programmers giving other programmers questionable advice is never a good thing. Because of this, I was sort of surprised when I finished reading a post from Neal Poole that hit the front page of Hacker News. Appearing on Hacker News as “Cross-Site Scripting? In PHP Notices? It’s more likely than you think,” his blog post… Read more »