Statically Typed

because Hindley-Milner rocks

Monthly Archives: February, 2010

On Bottlenecks and Performance


It strikes me as odd just how many people love to prematurely optimize or optimize without benchmarking.  Moreover, it’s unequivocally disastrous when the choice to optimize is made by non-programmers … Continue reading

February 27, 2010 · Leave a comment

Testing API consistency with Reflection and Unit tests


When developing an API for a customer the most important thing is documentation other than it working properly.  Part of that documentation is the code itself.  I know I’ve been … Continue reading

February 22, 2010 · Leave a comment

XML, object creation and D-R-Y


I recently had the misfortune a few weeks back of having to add functionality to C++ code written by a novice developer.  How could I tell this developer was a … Continue reading

February 18, 2010 · 2 Comments

Pragmatic Programmer: Immutable C++ Script, take 3


When I wrote my script I had been dealing with objects and not pointers.  Now that I’ve taken a closer look at it I see that it has one large, … Continue reading

February 17, 2010 · Leave a comment

Composing Functions: the Java approach vs the Scala approach


I asked a simple question in Stack Overflow and got back the kind of answer I should have expected, a strategy pattern.  For illustrative purposes I’ll repeat the problem here: … Continue reading

February 8, 2010 · Leave a comment

Pragmatic Programmer: Immutable C++ Script, take 2


So not only have I been looking at some things in Scala and playing around with them in what little time I can get away with at home but I’ve … Continue reading

February 7, 2010 · Leave a comment