by systemvoltage · 5y ago · 0 comments
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!?".