I used to think that, and sometimes nowadays I still think it from time to time. The reasoning behind it is, mainly:
- I'm into software engineering because I like it
- I have a degree in CS and I consider myself self-taught; I have read all the popular (and non-so-popular) books recommended for software engineers (DDIA, OSTEP, SICP, Stevens' books, and a long etc.) I do side projects from time to time to learn new things, but mainly to experiment the feeling of "building something"
- I think I have good taste (whatever that means)
Now, obviously I don't say it loud "I think I'm a better developer than you", and obviously there's no single measurement in the industry we can use (some developers are good at fixing bugs, others at designing, others at reading code, others at everything, etc.)... but deep inside my mind I still tell myself "I think I'm better than my peers, and than the other engineers in those other teams in that other area in my company".
I don't see it as an unhealthy thought, but I was just wondering that if people around here on HN tend to think that way as well.
As for becoming a “better developer” than others - who cares. Life is too short to waste it thinking about shit like that.
I try to focus on going places (both metaphorically and sometimes physically), and learning whatever it is I need to get there