I learned to program typing them in.
And so it goes, for most any skill.
I spent a lot of time extending the Hammurabi program. My version of it is lost to history like a lot of my early stuff. I also wrote a lunar lander game, and an orbit game.
Empire was first written in Basic.