I'm a dev as well and probably spent about $50k on this hobby over the years, though never all at once (most expensive desktop setup was about $5k).
I specifically got into it to block noise from an annoying co-worker and have almost entirely used headphones at work for that purpose.
5k is still quite a bit... But not so hard to spend with headphones like the DC Stealths around lol...
Yeah I originally listened to music everyday as I lived at home through high school and learning how to program.
Listened to music to fall asleep since I'm a kid too...
Then when I went to work as a programmer I used it to block my coworkers talking all the time around me.
Now I've been working at home on my own businesses and software for 8+ years but I have still only been in this scene for about 6 years. Originally getting into it after I picked up a set of 1More triple driver IEM that a friend suggested to me on sale @ Costco for $60. Blew me away with the quality I got from my HTC phone.. And the rest is history.
I've probably spent around 5k total now over the last years (I buy things on sale or in the 2nd hand market).