No. This what stupid people who think they are smart tend to think.
Smart people often don’t realize how smart they are and they don’t recognize there code as unclean. To them it’s trivial.
A lot and I mean a lot of people on HN think they are smart but they are actually average or stupid. The amount of smart people operating at that level is rare. Really rare. I’ve been at entire companies where there isn’t one person who is actually “smart” at the level I describe. Most people are just average.
Okay so your definition of “smart” sounds different than the definition everyone else in this thread is using. Sounds more like you’re talking about “genius” to me, specifically in a savant type way where they are incapable of relating to average people.
No. I’m talking about genius. Not savant. Savants likely can’t relate to your emotions. Geniuses can. The difference is just if it takes them 1 second to parse what takes you 5 minutes to do the same they often don’t realize this unless you tell them.
That being said what I talk about lives on a gradient. The smarter you are the greater degree of tendency you have to write shitty code.
The cleaner your code the higher possible chance you are stupider. It’s not a definitive sign but there is a correlation.
Probably because you think you're smart AND you write excessively clean code and are excessively anal about it. Whether you actually are smart is a different story.