Back in 1991 when I started my computer science degree, I just wanted to create new things - I liked to reverse engineer, take things apart, hack code and build stuff that never existed before. My friends were going into chemical engineering because the average salary was like $45k / year whereas programming was something like $38k / year. They thought I was short-sighted because I didn't go for the money. But, it didn't daunt me that I got paid less. I thought it was awesome that someone would even pay me to do the type of work I was doing. I earned $33k in my first year. In contrast, I had a friend who managed a Barnes and Noble and was making 45k, but I didn't care.
The early years were pretty awesome. In the 90s it was exhilarating to be working with your brainy hacker friends late into the evening. No chaos or rush - we'd release every 3 months on a regular schedule. We had tons of slack time to just play around. After work, we'd go out and have beers and talk philosophy and art and culture (It was during this era that Paul Graham wrote Hackers & Painters). But, then the salaries started going up, and up, and up. I knew the field wasn't sustainable when my salary greatly exceed my chemical engineer friends. It was sometime in the mid 00s that I realized I needed to make an exit plan. While my collegues were out there buying giant houses and fancy cars, I doubled down on the minimalist lifestyle and dumped everything into investments.
By 2010 I was making 30% more than my boss, and I could see the discontent. I was making more than some of the executives. The expectations became super high, and I could see the end was nigh. The field became flooded with people who didn't care about anything but the money. It diluted the creativity and energy. The status-seekers viewed programmers as blue collar, and they weren't going to let blue collar guys make more than them without some punishment. The consultants made fortunes teaching the 'boss class' how to turn programming into a factory. Programmers weren't allowed to create anymore - we would get a 'Program Manager' who would give us a 'backlog'. It was super demotivating and not fun anymore.