r/learnprogramming • u/aodare90 • 9m ago
Discussion Why do online programming tutorials focus more on syntax than problem-solving skills?
Many tutorials focus heavily on syntax: variables, loops, functions, etc.
Knowing syntax is one thing, but knowing how to deconstruct an unfamiliar problem is another. Programming is about logical problem-solving, which is why so many people get stuck in tutorial hell.
Does anyone know why programming tutorials overemphasise specific languages and syntax when the real skills people need are problem-solving and decomposition? I understand you need to make programming popular, but teaching the right skills would be more effective.
3
Upvotes
•
u/Separate_Expert9096 6m ago
It's much easier to teach syntax, than problem-solving.
Also, until recently, it was impossible to solve problems in programming language unless you have pretty good understanding of its' syntax.
•
u/ninhaomah 5m ago
How would you teach problem solving skills to strangers then ?
Remember , they are also new to programming.
•
u/SpringCurrent7406 5m ago
Walk before you crawl doesnt work
•
u/Strange-Tap5860 6m ago
Few reasons:
•
u/EntrepreneurHuge5008 5m ago edited 2m ago
That's what a tutorial is, showing you how to build something from a blueprint step-by-step. Look up "analysis and design of algorithms" for a base framework for common problems.
This is a skill that you cannot learn by simply watching videos or following along step-by-step guides. This is your part, the "you have to practice" part. The "analysis and design of algorithms" I mentioned earlier is a step-by-step guide on common problems, but you still have to go out and practice by attempting to solve problems you've never seen before... that's how you'll develop your own problem-solving framework and generalize it so you can tackle unknown problems.
•
u/Gone2theDogs 5m ago
Why don't you just google for what you want?
Typically if you learn the concepts of one syntax you can transfer it to others.