Back when I was a kid (born in 1960), jeans were called dungarees and you could wear them after school but not at school. This was in the northeastern part of the US, in a middle-class, public school environment. It was definitely not acceptable to wear jeans to a professional job until much later. In fact, I had to wear a tie at some of my first jobs as a developer.