upvote
Learning syntax takes a weekend. Learning to approach problems analytically and algorithmically takes much longer, and is the only "hard part" of computer programming.
reply
It takes a weekend for a software developer. For a totally novice it takes a lot more time

The issue here is that you are learning the syntax at the same time you are learning foreign concepts, and the syntax is often confusing and counter intuitive

Learning the syntax separately is of no use because without a mental model you can't do anything with it

reply
I remember learning python in high school by following the tutorial in the official docs, then from a book. Up until function and OOP, it was fairly easy, but I gave up afterwards because the exercises touch on things I haven’t learned yet like trigonometric identity. I could see and understand the syntax, but I couldn’t understand the code.

This is why children can easily learn enough programming to create games, because it’s a domain they can comprehend easily. Just like they can use english to write about their daily lives. It will be simple sure, but it will work.

So learning to code is fairly easy, you can easily create simple programs after a weekend. More complex programs will still use most of the same basic concepts as far as coding goes, but you will need to master more complex concepts, and that takes time. And such concepts are not about coding, they are about the nature of computing or the domain the software is created for.

This is why experienced devs only need a few days doing kata to get up to speed with a new programming language. It’s usually the same old, with slight differences. What was always needed was an understanding of computing and the ability to break down problems and create a solution that can be computed.

Coding to me is the same as drafting an engineering schematics, or writing a sheet music. It’s just a tool, not the end result.

reply
It certainly wasn't "approaching problems analytically and algorithmically" that prevented me to contribute to many open source projects in the past. On the other hand, I've made 3 apps in 3-days' spare time, which I could not find in years and were not worth investing months of effort at the time.
reply
You are confusing syntax with knowledge of the libraries.

The struggle is not where to put a semicolon. The struggle is, how do I handle validation problem X with framework Y.

reply
But even this was always overblown. Once one has broad enough experience it wasn’t hard to quickly spot patterns and fill in blanks with google
reply