3 ms·
The main reason why I don't find this principle as useful as it appears at first sight is the phenomenon of obfuscation by abstraction. You can cut down on LOC
by fauigerzigerk 15y ago
The main reason why I don't find this principle as useful as it appears at first sight is the phenomenon of obfuscation by abstraction.
You can cut down on LOC and even make the code appear more elegant by making it very abstract. Is this better than writing more lines of code that express the intention more directly? I don't have a general answer to that and I don't think there is one. Nothing will ever free us from the burden to find the right balance.