DEV Community

Discussion on: When is your code 'good enough'?

Collapse
 
stevieoberg profile image
Stevie Oberg

I try to keep my process simple, I want to be able to come back to any code I write in a few weeks and not spend the same amount of time understanding it as I did writing it. Code is meant to be read, or else we'd be writing all our programs in machine/assembly language.

So it's good enough when it runs correctly, well tested/covered by tests, and it's easily read.