68
Don't make Clean Code harder to maintain, use the Rule of Three
(understandlegacycode.com)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
"The one that makes sense"
Patterns and principles are guidelines, not rules. You don't want to just apply them blindly.
You need to balance principles. Over-applying the DRY principle can lead to more complex logic that's harder to understand than if you just wrote code in-line.