I was a network engineer and would do the same, can't place the exact reason why, but today i am a python programmer doing network automation. I do think HN had a major part to play in this change
Network Engineer here too. I learned to code with Python and now do full-time PowerShell automation at work. It completely changed my career. Best decision I ever made.
its an everyday struggle, but noting down the things which i am thankful for, such as wife, kid, some particular incident which could have been much worse but ended being manageable etc. has helped me a lot. It's a slow process though.