Donnerstag, 12. März 2009

What is your LOCBUT?

How many lines of code do you write before having the urge to test if it is working? Does this count go up or down when you know that there are solid tests backing it?

For me personally, it is about 5, and going down if tests are around.

I have of course no metrics, but I have the feeling that this is not depending on the programming language. Which leads to some interesting conclusions:
  • strive for fast round-trip cycles in your development process
  • prefer expressive languages which allow to more in less LOC

Keine Kommentare: