39
submitted 1 day ago* (last edited 1 day ago) by communism@lemmy.ml to c/asklemmy@lemmy.ml

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?

you are viewing a single comment's thread
view the rest of the comments
[-] BassTurd@lemmy.world 2 points 1 day ago

Python 100%. It's the most human readable and easiest to pick up, especially for a non tech person. It's easy to setup contrary to what I've read in the comments. Go to python.org install the latest version and that's it. The downloader includes Idle so no other ide is required, but I'd consider vscode as well. Either watch an install video or better yet do it yourself before going to class.

I think you need to highlight the differences between OSs when it comes to setup if you plan on having a mixed environment of systems. It will also affect the code you write, so to be thorough, you'll need to cover those differences as well.

Don't go low level like C. These people will die the first time they have to compile in terminal.

[-] tyler@programming.dev 1 points 5 minutes ago

You should read the Python documentation for how many ways there are to set it up. It’s not easy. It might be easy for a pro, but for a beginner it will be a nightmare. Python’s own documentation is thousands of words long for how to get it running correctly, it’s the exact opposite of what you want for beginners. And no it’s most definitely not the most human readable. They call it Ruby Prose for a reason.

I’m not here to have a flame war over Python vs other stuff, but I’ve used both professionally for over a decade. Python is good at stuff, but being human readable by beginners and having good tooling are not even in its ballpark. It has syntax unlike any other modern language and its tooling is shite. https://chriswarrick.com/blog/2023/01/15/how-to-improve-python-packaging/

this post was submitted on 09 Dec 2025
39 points (100.0% liked)

Asklemmy

51580 readers
314 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 6 years ago
MODERATORS