Regardless, I would never consider these failures, and here's why:
Any venture you do on your own shows initiative and is practice for your programming and business skills - that already places you in the top 1% of software devs. What's the worst that could happen? You build your skills and work for a great company, because any company that fosters entrepreneurial innovation (e.g. Google, Facebook) would LOVE to have you if you built something significant.
So...build a successful business or boost your resume to work for Google/Facebook? Sounds like a win to me.