Yes, it plays an important role. We are developing Test-Driven Development here, so we only write tests to meet the requirements. Thus, we write only the code that we need, which is executed.
In addition, we all strive to make things simple in general; complications lead to errors. We prefer to write less code to solve the problem (this does not mean using a large number of hacks to get fewer lines of code). Sometimes we have to do complex and complicated things, but we try to encapsulate the rage in our class.
And the "stupid" part should remind us all that we are not as good as we think: "
The result is that most errors are mostly easy to debug.
source share