The evils of premature optimisation Written on March 23, 2011, by .

Image via Jens Christoffersen on Flickr It is always tempting to try and speed up the bit of code you just wrote. Sometimes it is tempting to try and speed up code you haven’t even started yet by over-thinking the algorithm. Unless your codebase is functionally complete or the code is so slow and/or resource [...]

jQuery, confusing sample code and elegance Written on March 13, 2011, by .

Image via Andrew Dupont on flickr Have you ever found a cool snippet of code that does almost what you need, tried to tweak it but it is formatted in such a way that you can’t work out what the hell it is doing? I’ve noticed this so often recently I thought I’d try and [...]

© Copyright etrium (Dan's stuff) - Powered by Wordpress - Theme based on The Azure Hut Designed by Speckyboy.