by stackbutterflow · 4y ago · 0 comments
I also used to think that everyone could learn to code but I came to realize that this mindset can't be learned. Some people maybe discover that they have this mindset later in life and that's why learn to code is still a useful piece of advice because it'll reach them but once you've tapped into the fixed % of the population that do have this mindset you can't expand it more.
It's not to say others are doomed, there are other mindsets that exists for every professions. Maybe some of them can become great PMs or great small business owners or accountants. But coding is out of reach for a large portion of the population just like developers tend to be very poor salespeople and couldn't "learn to sale" if their income relied on it.
In my experience, the most significant first barrier is the command line and the environment setup. This is why I always start with explaining the Unix shell and ssh. It gets a lot easier from there.
All interested in programing and in pursuing a CS degree and yet some of them wanted only the solution. They were not interested in why their code didn't work or what the error was, they wanted me to jump in and give them the solution.
It's like they liked the idea of being a developer like many like the idea of becoming a writer, but they didn't have that mindset, that stubbornness and willingness to spend hours reading some shitty incomplete readme, going through dozens of GitHub issue threads, googling compiler's errors, reading the doc, trying until it works and feeling that rush of pleasure once it compiles/do whatever you want your program to do.
And some of them couldn't grasp some basic, fundamental concepts like a for loop or accessing a method on an object after two semesters in a CS program.