When I am doing DIY I always want it to be perfect, because I know the project inside out. I know where I had to cut a corner or where some ends didn't quite meet and had to be filled, where a seam isn't as invisible as I would like. To stop myself obsessing over the tiny details I ask myself, will my wife notice it? If she would then it's worth spending a bit more time on, if she wouldn't notice it, do the best you can and move on with more important jobs. Once the job is finished I can go back to that little issue that only I know about and tweak it so it is better.
In software just build it, make it do the minimum required however you can and then tidy it up and make it extendable/modular etc.