3 ms·
Step 1. Hello World Step 2. Variables Step 3. Types Step 4. Loops Step 5. Functions Step 6. Strings Step 7. Arrays ... on and on. This is a disaster reci
by systemvoltage 5y ago
Step 1. Hello World
Step 2. Variables
Step 3. Types
Step 4. Loops
Step 5. Functions
Step 6. Strings
Step 7. Arrays
... on and on. This is a disaster recipe that 90% of the books, tutorials, etc follow. This is perfectly ok for a reference book but doesn't do anything to teach people how to program.
Programming language is tool to solve problems. Without a problem, you're loading people with dry concepts that don't stick in the brain. In fact, this is the same crap in Electrical Engineering classes as well - not one engineer in my class could tell when to use a BJT vs. a MOSFET. They all know the characteristics, how to compute the gain, etc. but not the practical aspects of why it exists and what problem it solves. Anyways, programming needs to be taught in a project oriented fashion with optional reference books. Teach them what happens if you hardcode a "loop", write repetitive code and then try to show what for-loop does. You gotta get into the brains of the pupils and imagine them asking "But why!?".
- arketyp 5y agoI can't think of any better entry to programming than making games. You get the loop, the variables, conditionals, functions, and gradual sophistication grows organically. For kids, I would look for a programming language where making graphics is easy.
- psyc 5y agoThis is both how I learned, and the only reason I even wanted to. Heck, sometimes it’s even why I get paid. I agree.
- smellsinore 5y agoI am fascinated, if you can, please tell the difference between when to use BJT versus MOSFET