Archive for the ‘programming’ Category

Five common mistakes in unit-testing

Feb 6, 2006

Having worked with unit-testing and test-driven development for the past three years, I repeatedly see people making the same common mistakes. These mistakes don’t necessarily undermine the benefits of unit-testing but they do serve to make the process less than ideal:

Writing monolithic tests. More often than not, I see … Read more

TTC Google Maps for all!

Jul 29, 2005

I just spent a few minutes factoring out my TTC subway map Javascript code so that it can be called to insert the TTC subway into any Google Map:

<div id=”map”> <script src=”http://crazedmonkey.com/ttcgooglemap/ttcgooglemaps.js” type=”text/javascript”></script> <script type=”text/javascript”> <!– var map = new GMap( document.getElementById( “map” ) ); map.addControl( new … Read more