Entries from October 2009

How To Write Hard To Test Code & What To Look For When Reviewing Other Peoples Hard To Test Code

October 28th, 2009 · 6 Comments

Here are my slides which Cory Smith and I have presented this morning at OOPSLA 2009. The ability to write hard to test code is innate in every developer form the moment we have built our first “Hello World” application. It is so automatic that we do not even know when we are doing it. [...]

Tags: Uncategorized

Automatic Dependency Injection In The Land Of Dynamic Languages

October 25th, 2009 · 5 Comments

Automatic Dependency Injection Frameworks (such as GUICE, PicoContainer, and Spring) are very popular in Java, where they depend heavily on static typing, interfaces, reflection and annotations. But what about languages such as ActionScript, JavaScript, Python and Ruby, where duck-typing and lack of run-time-type-information at first glance make these frameworks impossible? Can a simple Dependency Injection [...]

Tags: Uncategorized

Lowering the price of Web-Apps

October 18th, 2009 · 5 Comments

The old saying goes: Ideas are a dime a dozen, it’s the execution that counts. So you are working on a project and all of a sudden you realize that it would be great to have a web-application which keeps track of something. It is exactly what would hit the spot, but than you think [...]

Tags: Uncategorized

Design for Testability Talk

October 7th, 2009 · 12 Comments

Here is may latest presentation on design for testability… Slides: Design For Testablity

Tags: Uncategorized

Sweet Spot for <angular/>

October 4th, 2009 · 3 Comments

Building web-applications is hard! Even the simplest hello world application will take you hours to set up and you have to know a lot about how many different pieces of technologies work together. Here is a quick inventory from the browser to the back end of what a typical web-application developer needs to know about: [...]

Tags: Uncategorized

Cost of Testing

October 1st, 2009 · 31 Comments

A lot of people have been asking me lately, what is the cost of testing, so I decided, that I will try to measure it, to dispel  the myth that testing takes twice as long. For the last two weeks I have been keeping track of the amount of time I spent writing tests versus [...]

Tags: Uncategorized