Inspired by a thread on Facebook to which I contributed, a few words concerning readable code vs compact code.
category / Code
Writing code is like writing poetry – do it right or you’ll end up in some anthology of shame.
Taken from my reply to a post regarding the topic on Facebook, a few words introducing key guidelines I follow when commenting my code.
A neat trick for extracting information from arrays into variables.
Working with cross-browser DHTML sucks; and that’s a fact of life. The older the browser, the worst it is because of different DOM implementations. I was trying to set this thing up where you can draw a box outline over an image, and send the coordinates to a PHP program through a form.