3 ms·
Why does everything need to be either DRY or WET? Like most things in life, there are no absolutes in programming, only tradeoffs. Those may be good principles
by brokencode 2y ago
Why does everything need to be either DRY or WET? Like most things in life, there are no absolutes in programming, only tradeoffs.
Those may be good principles to think about when you are starting out with programming, but the key is to gain experience trying to solve problems in different ways.
Over time, you get better at making the right decision about whether duplicative code should be refactored or left alone.
To be fair, we can’t always make the “right” decision, but we can at least try to make the best decision we can based on the knowledge we have.