When do you decide your code is good enough? Is it after refactoring a dozen times or when you've check marked every task you had to do?
Is it when there's not a single error or are you just happy that it doesn't crash your terminal when you run it?
I ask because I've been reading Katrina Owen's and Sandi Metz's book titled 99 Bottles of OOP and they talk about what they think is good code.
As a beginner, I fall into the write the code; run it; pray category.
So tell me Devs. When do you decide your code is good enough?