Slightly O/T, but I am curious how an airline pilot ends up on HN. Welcome, and happy to have your perspective :)
I'm also a programmer in my spare time, I started coding long before I was a pilot. Sometimes I do consulting work and I also have a startup. Flying jobs generally give enough spare time to do these things in a limited way.