paint-brush
Combatting Overengineering: Don't Be Afraid To Throw Away Your Codeby@nfrankel

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

by Nicolas Fränkel2mApril 30th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

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.
featured image - Combatting Overengineering: Don't Be Afraid To Throw Away Your Code
Nicolas Fränkel HackerNoon profile picture
Nicolas Fränkel

Nicolas Fränkel

@nfrankel

Developer Advocate for Apache APISIX *** Learner *** Author of http://leanpub.com/integrationtest

About @nfrankel
LEARN MORE ABOUT @NFRANKEL'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Nicolas Fränkel HackerNoon profile picture
Nicolas Fränkel@nfrankel
Developer Advocate for Apache APISIX *** Learner *** Author of http://leanpub.com/integrationtest

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Coffee-web