43
submitted 4 days ago* (last edited 4 days 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?

(page 2) 4 comments
sorted by: hot top controversial new old
[-] WolfLink@sh.itjust.works 1 points 4 days ago

Mac is very similar to Linux in that it comes with bash (these days zsh) and a lot of the command line tools you’d expect on Linux, including gcc and python3 installed by default. You’ll want them to have a decent text editor with code coloring. Sublime is what I was taught to use in university.

Windows is more difficult. The command line is very different (it inherits from DOS instead of Unix like both Mac and Linux). It doesn’t come with Python pre-installed. I’ve generally installed git-bash when working on Windows. There are some Python libraries that work fine on both Mac and Linux but have issues on Windows.

You could look into VSCode which is a decent IDE that works on all platforms. Of course, an IDE can be a bit of an information overload for a beginner, especially something like VSCode that’s constantly pushing AI features and plug-ins.

load more comments (3 replies)
[-] JusticeForPorygon 1 points 4 days ago

I'm currently a college student studying software engineering, so by no means am I a professional (yet at least, lol). Nevertheless, I'll try to give what input I can.

Afaik and based on my own experiences, windows does not come with a pre-installed C compiler. (Win 11 Home at least) Also, I just honestly wouldn't recommend C anyways especially if it's for a non-technical crowd. It's great once you get the hang of it, don't get me wrong, but it's definitely not beginner friendly.

As for a "best choice" it's of course up to preference, what you're already familiar with, and what kind of programs you and your class plan on writing. If you want to use a language that can directly translate into a working environment, Python is a very beginner friendly option. If you want something slightly less forgiving, I think Java provides a good balance between having a lot of useful built in functions/methods and having some of the more "strict" (for lack of a better term) rules about syntax (semicolons, brackets, static variables) that you'll find in other languages. If you're just looking to teach programming concepts on a surface/conceptual level then honestly something like code.org or scratch is a great option (and it's where I got my start growing up lol)

As for setting up an environment, again, everyone has their own idea of the absolute best setup, and it's also probably going to differ at least somewhat depending on what operating system you're using. For my personal use I've mostly been using VSCode just because it's pretty easy to set up. Definitely worth mentioning though that VSCode comes with plenty of Microsoft Telemetry built in by default so if you want an alternative without that I recommend Code OSS (vscode built directly from source) or VSCodium (vscode but with MS Telemetry disabled and a different default extension marketplace)

The intro to computer science class I took (and am currently an aid for) at university (we used C) did all of their demonstrations using CS50.dev, which is an online environment maintained by Harvard. For the Object Oriented Programming course I took (Java) we used Eclipse.

Again, I'm still a student, so take everything here with a grain of salt. And if anyone sees anything they think deserves clarification/correction please let me know. I'm still learning lol.

[-] bluemoon@piefed.social 1 points 4 days ago

Red-lang https://www.red-lang.org/

Arturo https://arturo-lang.io/

Rexx with the Regina compiler https://www.rexxla.org/rexxlang/index.srsp https://regina-rexx.sourceforge.io/

Pascal-P6

Oberon 07 using AntKrakov's compiler

etc.

load more comments
view more: ‹ prev next ›
this post was submitted on 09 Dec 2025
43 points (100.0% liked)

Asklemmy

51613 readers
1117 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