If your 8 hours of bug fixing keeps a system generating 100k revenue an hour, suddenly 90k a year seems almost like a pittance.
Even for much less impressive amounts of revenue the math should checkout otherwise your job isn't really sustainable.
If your 5 man development team creates an application worth 100k in 6 months and you sell it to 10 clients, in half a year you've covered a year's worth of salary. Every additional sale related to further development for the next 6 months will be purely profit.
What worries me is jobs where you can't even come close to seeing how company revenue can (or will) exceed development costs, but I'd still keep in mind not guaranteed for a developer to know every factor involved.
People use terms like "get your hands dirty" to describe programming. Programmers are usually not encourage to wear button-down shirts, suits, etc.
You're basing this view on a very small subset of companies (startups). the vast majority of places where people work still expect professional dress above the level of t shirt + cargo shorts and flip flops.