I do agree that learning how to code is not that hard given that you have certain skills already. But said skills are rare. This might explain why programmers think it is easy to learn programming but we don’t see an influx of skilled developers despite boot camps and online courses available for free.
Maybe changing something at an elementary school level would fix the problem. I have no idea how to do it but I know for sure that we need to teach people a certain way of thinking and this is a prerequisite to being a successful programmer. As soon as you have that way of thinking learning Python or Java is a piece of cake. And I absolutely sure that anyone can learn it, we are simply super bad at teaching the right skills to people.
Some (read- rich) schools are teaching programming early, but I agree 100% if we had all public schools teach it early it would remove much of the mysticism.
Anyways sorry if I come across as heated on this issue, just some of the best people I've ever met made the least and had the most menial of jobs.
edit to add- my mother (a horrible, evil person), was head of Sandia Labs IT(weapons defense contractors for the govt), she had a masters in accounting and knew nothing about computers and servers. This woman- who was on call 24/7 and still had beepers in 2010 as they are more reliable than cellphones, couldn't use a desktop computer and had Win98 as her OS when the rest of the world was on Win 7. I don't understand this world.
SEs are paid well and so have an overinflated self-value. Again, now that this is crashing with WFH. We have code chop shops in India, yet we still try and pretend coding is some modern-day magic language.
ninja edit- hit reply b4 finished
2nd edit- reminded me of this [1] infamous That Mitchell and Webb Look sketch =)
[1] https://m.youtube.com/watch?v=THNPmhBl-8I