I’m going to be delivering an online intro to programming session to a non-technical crowd who will be “following along at home”. Because it’s online, I can’t provide them with machines that are already set up with an appropriate development environment.
I’m familiar with Linuxes and BSDs but honestly have no idea how to get set up with programming stuff on Windows or macOS which presumably most of these people will use, so I need something I can easily instruct them on how to install, and has good cross-platform support so that a basic programming lesson will work on whatever OS the attendees are running. Remember they are non-technical so may need more guidance on installation, so it should be something that is easy to explain.
My ideas:
-
C: surely every OS comes with a C compiler pre-installed? I know C code is more platform-specific, but for basic “intro to programming” programs it should be pretty much the same. I think it’s a better language for teaching as you can teach them more about how the computer actually works, and can introduce them to concepts about memory and types that can be obscured by more high-level languages.
-
Python: popular for teaching programming, for the reasons above I’d prefer not to use Python because using e.g. C allows me to teach them more about how the computer works. You could code in Python and never mention types for instance. Rmemeber this is only an intro session so we’re not doing a full course. But Python is probably easy to install on a lot of OSes? And of course easy to program in too.
-
Java: good cross-platform support, allows for teaching about types. Maybe a good compromise between the benefits outlined above for C and Python?
Any opinions?


Absolutely do not use Python. It’s a nightmare to install on random computers and the majority of your time spent will be trying to get it working on everyone’s computer (that was my job at one point). As far as I remember, there isn’t a “good” C compiler that comes on windows and the one on Mac is missing some stuff.
I’d go with Ruby, it’s dead simple to install on every OS, easy to teach and learn, and doesn’t work differently across OSes. There’s an installer for it for windows and it comes installed by default on Mac (or it did? Maybe they stopped that).
What?
Linux: Install with whatever package manager you use
Windows: download installer, run installer
Mac: Idk, same as Windows I’d guess
Then type python or python3 into your command line to check of it works. Run scripts from command line, too (to prevent stuff like file associations or shebangs)
Any version >=3.10 is fine, the differences don’t matter for a basic course. Venv or even pip is not needed either (again, basic course).
If only it were that easy. Like i said, my job for years was literally deploying scripts and software to a fleet of machines including Macs and windows laptops. Every single install would have something go wrong, every single time.