The key, IMO, is to write software in the engineering industry not the tech industry. Plenty of interesting problems, large breadth and depth of knowledge across many disciplines, real business models, real product, really helping drive technology forward. It took me too long to realize that the 'tech' industry is mostly cult garbage looking for an exit.