Write Stupid Code

from blog Thorsten Ball, | ↗ original
This post has been translated to Chinese. In the last couple of months I developed a certain approach to writing code. Whenever I write a new function, class or method I ask myself: “Is this code stupid enough?” If it’s not, it’s not done and I try to make it stupid. Now, stupid code does not mean “code that doesn’t work”. Stupid code should...