I’m curious if you programmed professionally before SO.
I feel the average junior developer’s, or even senior developer’s, for that matter, code was a lot worse than the average SO response, which has now become the baseline for all types of devs, so their code is at worst as bad.