exceptions double the cost


In software development it’s quite easy to add some “Exception” (or “if”)in the behaviour of a software.
We do it because it’s easy, it’s fast, and it solves a problem.

What we, as developers, don’t say, is that it cost us way too much.
Maybe not in the beginning, but it’s like buying things and then having to put them to the right place years after that.

An exception is something you keep but you forget about.
Still one day you’ll be reminded of its existence and you’ll hate your choice.

It’s fine creating exceptions from time to time, but beware, because it’s similar to telling lies.
Once you start, you might not stop.


%d bloggers like this: