Live coding is how I learned to program and I am so glad that this type of computer music performance exists. I am currently doing my PhD on the topic! Programming as a performative act, with its own culture and music sub-genres. For those interested in helping / taking a look, I am currently trying to hack my own live coding environment based on Python asyncio mechanisms: https://github.com/Bubobubobubobubo/sardine I am a bit shy about it because I am light years behind the level of the projects that are posted on HN and that keep me inspired. I've taught myself how to do this basically by live coding ... a lot, with friends in France! Learning a bit of CS because of music.
EDIT: Sonic Pi is the environment that I used to learn the basics of programming!
https://github.com/toplap/awesome-livecoding
"All things live coding : A curated list of live coding languages and tools"
https://github.com/toplap/awesome-livecoding is a nice curated list of live coding languages and tools.
Lots of great starting points at: https://github.com/toplap/awesome-livecoding
If this is fun for you, try live coding https://github.com/toplap/awesome-livecoding