Clamp The Code

This a picture of me used on our front web page. If you don’t see it there, try reloading.

What’s the matter with me on the picture?  What am I trying to say?

Per Code Clamping
Per Code Clamping

If you have worked in a real workshop using a real clamp, you know how valuable they are. It is virtually impossible to shape a piece of metal or wood using a file or a rasp without having the piece in a clamp!

The same thing goes for code. Should you get your code in shape you need to use a clamp and get hold of it first. What is the clamp then, when we are talking code? Well, it isthe  test cases, of course!

It is so much easier to change code when you have tests that back up every step you take.

So if you want a mental picture of the great idea of tests, think of a clamp!

One response on “Clamp The Code

  1. Perfekt metafor och gimmic! Amerikaner ser nog inte en tving utan ett kikarsikte – jag gjorde det. Hälsningar, Dag

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.