3 ms·
Like any rule this can be taken too far. It happens all the time. People like simple rules. They want everything to be like assembling IKEA furniture: no though
by globular-toast 2y ago
Like any rule this can be taken too far. It happens all the time. People like simple rules. They want everything to be like assembling IKEA furniture: no thought required, just follow the instructions. We all like it because it frees up the mind to think about other things.
There are rules like "don't stick your fingers in the plug socket". But, if you're an electrician, you can stick your fingers in the plug socket because you've isolated that circuit. DRY is similar. As a programmer, you can repeat yourself, but you should be aware that it's thoroughly unwise unless you know you have other protections in place, because you know why such a rule exists.