No, I don't! But maybe my book gives this impression, doesn't it? Most of the code we write isn't that complex. Think about it. Most methods you probably wrote in your life have just a few lines of code and it doesn't go beyond a for and an if statement. Empirical software engineering research, in fact, backs up this sentence (see the paper by Herraiz et al). Most methods in software systems are simple.
Do I systematically write tests all the time?
Do I systematically write tests all the time?
Do I systematically write tests all the time?
No, I don't! But maybe my book gives this impression, doesn't it? Most of the code we write isn't that complex. Think about it. Most methods you probably wrote in your life have just a few lines of code and it doesn't go beyond a for and an if statement. Empirical software engineering research, in fact, backs up this sentence (see the paper by Herraiz et al). Most methods in software systems are simple.