maintainability

Maintainability refers to the need for code to be easy to read and easy to alter without subtly changing the behaviour of that code in unexpected ways, or – worse – changing the behaviour of code located somewhere else.

A problem I come across rather frequently has to do with the fact that input in C++ requires a pre-existing variable of the correct type, which either has to be uninitialized or initialized to some “safe” value. There’s a third option, though, and it’s the topic of my first Tippet. Continue Reading