Isn't it great to be disappointed when comparing your code against others? It gives you a set of higher standards to aim for and is preferrable to being the best coder from the small pool of people you work with
I hear what cageface is saying but you are right, and it's definitely a better mindset. I much rather have lots of good code to learn from and get inspired by, than only reading disposable code from uninspired corporate coders.