News for hackers. Stuff that matters.
Re:Teaching how to code is broken by teeceetime2 on Friday January 14, 2022 @01:58PM (#29938589)
An "Intro to Logic" (Pseudocode) class was required at my university before you could move on to any of the actual programming courses. It was a glorified linear programming course - think BASIC or BATCH with a bunch of jumps and goto's.
Re:Teaching how to code is broken by qsort on Friday January 14, 2022 @02:05PM (#29938749)
This is unironically a good idea. The main stumbling block isn't programming per se, it's breaking down a conceptual, informal idea of what you have to do in a formal language.

It matters very little whether it's linear programs, ASM instructions, LISP forms or C++ classes.

Re:Teaching how to code is broken by systemvoltage on Friday January 14, 2022 @02:18PM (#29939007)
On the other hand, our University course started with half-baked explanation of what "public static void main" means (Java entry point) on the first day. It was horrible and no one understand anything until a few classes later we go to the meat of making/building stuff.
Re:Teaching how to code is broken by qsort on Friday January 14, 2022 @03:09PM (#29939659)
Yeah, I probably already commented on this some time ago, but I think Java is really, really bad as a teaching language. The language itself is just fine and much better than most people give it credit for, if you are a professional developer. As a teaching language is full of cerimony and it forces upon you an object model that you can't fully understand until much later. It's too much "in the weeds", if that makes sense.
Re:Teaching how to code is broken by jldugger on Friday January 14, 2022 @06:25PM (#29941899)
Yea, AFAICT, Java has fallen off in schools in favor of Python, which is less opinionated about things like that. It has classes if you want them, lambdas if you want them.