Re:Write code that is easy to delete, not easy to extend
by joshka on Sunday February 14, 2016 @12:00PM
(#11098961)
Couldn't agree more. Writing a single line of code that can fail multiple ways (especially the same way on multiple parts) is one of my constant source of annoyances. Not from a DRY perspective, but from your code has a bug, but I can't give you enough detail to immediately fix it because it could be one of these X reasons. Especially on production systems, these become the sorts of issues where the developer makes some temporary fixes to the code, then has wait to observe the bug again to work out which line is broken.
[ Parent
| on HN ]
There are no comments on this comment yet.