DEV Community

Discussion on: Not a Craftsmanship

Collapse
 
lysofdev profile image
Esteban Hernández

Excellent point!

IMO, rather than focusing on the "best" solution at the time, I try to write code that will be easy to return to and refactor once we better understand the problem we are trying to solve. The solution I crafted in a two-day crunch might not be the most efficient but whoever returns to it to improve performance will know exactly where the problem might be. I suppose clean code as a reflex is what I mean.