Eventually I decided to scrap those 5 years for a triple salary as a junior developer and had a successful career since.
Is casual coding more interesting than research/teaching - no, but staying in academia requires way more altruism than I could find in me.
I also still find how to get some of the joys of academia in industry, namely, mentoring/holding workshops/writing design specs/turning the cluttered documentation into a nicely flowing coherent one~