This post doesn't assume that, but I have met urban public school teachers who could have been software engineers since you asked.
My post does assume that the career would attract more highly qualified candidates if the pay was higher.
My post does assume that the career would attract more highly qualified candidates if the pay was higher.
I’d guess I’ve met and spend significant time with 100 teachers. And a handful were capable of being a professional programmer.