Honestly, if I were teaching someone to program now, I’d just tell them to buy a raspberry pi. For $50 for the nice kit, plus a surplus monitor + keyboard + mouse, you get a fully working toy dev environment preinstalled. You also get piles of programming tutorials written for that exact environment.