2 ms·
"There are no golden rules, it's just hard work." But there are good and bad principles. Like avoid copy paste. But I would never say, never copy paste code. I
by hutzlibu 7y ago
"There are no golden rules, it's just hard work."
But there are good and bad principles.
Like avoid copy paste. But I would never say, never copy paste code. I do, when I hack something together quickly and if it stays it needs later refactoring. No problem there .. only if the refactoring part gets forgotten bugs sneak in.
Also the advice of less is (usually) more.
Witing code is easy.
Writing good code which is working, readable and maintainable is hard.
But as little as code also goes against readability.
So like many others here said .. dogmas are stupid. There are different szenarios and just use what works for you.