Combatting Overengineering: Don't Be Afraid To Throw Away Your Code

Written by nfrankel | Published 2021/04/30
Tech Story Tags: over-engineering | dry | wet | good-practice | engineering | engineering-management | coding | code-quality

TLDR This week’s post is pretty short, but this adds a personal touch. I had to rewrite my Jet Train demo to use another data provider. I refactored the code in order to comply with the DRY principle. When looking at the code, it didn’t look more readable and the code added to every function was minimal anyway. I threw away my refactoring work in favor of the WET principle. There are two lessons here: think before you code - this one I regularly forget.via the TL;DR App

no story

Written by nfrankel | Dev Advocate | Developer & architect | Love learning and passing on what I learned!
Published by HackerNoon on 2021/04/30