It might depend on your personality - although you can be sure that you can be a good programmer 100% of the time, I know I occasionally make decisions that, in hindsight, are significantly stupid. Currently I can sanity-check things with my co-workers (or at least those of them that can spot signs of my stupidity) - if I were a sole programmer, that resource would not be available, so I'd either spend much more time checking my work, or end up wasting more time doing things the wrong way. Possibly even both.
I'd say how good a programmer I am doesn't depend on whether I have company. Being a sole founder sucks because there's just so much to do and it's easy to feel overwhelmed, which means you can lose motivation very quickly, and there's nobody there to help you get fired up again.