News for hackers. Stuff that matters.
Re:Python’s tug of war between beginner-friendly and advance... by Kim_Bruning on Thursday February 04, 2021 @08:20PM (#26031932)
Possibly you've had more students in one go than I've ever had for all the languages I've done put together then. That said:

Here's a weird thing that seems to work (especially while learning): Instead of copy-pasting code, type it into your program by hand. For some reason this helps a lot when trying to understand or debug the code that you are entering.

This works equally for those of us who started learning using BASIC on 8-bitters, all the way to Python, Java, or odd things like Siemens SCL.

Wrt editors: the times I've taught people, I actually went completely the other way: requiring the first few programs to be written in notepad or nano (depending on OS) . This tends to take the magic out of what the IDE is doing, and makes everything after it much easier.

Both of the above would seem to be relatively time-consuming. But oddly enough in practice they can save more time than they consume.

Re:Python’s tug of war between beginner-friendly and advance... by majormjr on Thursday February 04, 2021 @09:49PM (#26032499)
This is one of the key parts when starting to learn programming. Just typing out everything manually really helps you see the small details that are important when writing code that can get lost when copying from elsewhere. Courses like Learn Python the Hard Way focus on this method and I think it's the best way to go for absolute beginners.
Re:Python’s tug of war between beginner-friendly and advance... by BadInformatics on Thursday February 04, 2021 @10:38PM (#26032807)
Absolutely, I find this approach gets the right mental gears turning as well. The problem comes up most often with take-home assignments though, where students are more likely to copy-and-paste a couple lines from somewhere because you haven't given them a full program. If anything, an IDE might be better because it'll give more localized feedback and people are more likely to react to the red squiggles :)
Re:Python’s tug of war between beginner-friendly and advance... by franklyt on Thursday February 04, 2021 @11:24PM (#26033090)
I’m a bit taken aback by this message. My students have never copied and pasted a single line of code aside from their own...

I also don’t give homework. If you want to learn on your own, you can, but homework is a massive crutch that I don’t think benefits most people.