Hacker News new | ask | show | jobs
by jimmaswell 1796 days ago
Was this a school for gifted kids? I tried teaching some very basic python in high school once when someone formed a "computer club" and it was a total waste of time. Nobody was capable of understanding it. Maybe younger kids are just more receptive but this experience solidified to me that understanding programming is something that some small subset of the population is capable of and can't really be taught to the others, same as my compsci professor and some studies said, and my experiences working tutoring suggested.
2 comments

I can confirm. I went to a gifted school and Lego Mindstorms was on the curriculum.

Then in (conventional) high school I hosted a workshop on beginning Python (with Turtle) and half the people couldn’t understand why x=2 after “x=1” and “x+=1”.

They need a consistent framework to understand what is happening - "variables are like little boxes where you can put a number or some letters" and "The equal sign lets you change what is in the box."

x+=1 just complicates the situation; use x=x+1 to avoid adding more special rules for now.

This stuff is teachable, but it doesn't help that the framework is very different than the similar-looking expressions from math class, where "x=1" followed by "x=2" is not allowed.

Thank you. So many have become blind to how weird the syntaxes of programming languages are when not used to them.
It’s nearly impossible to remember what it feels like to not know this information. Often the best programming teachers are people who recently learned the material, for that reason.
I remember exactly my first time learning to code as a kid, the book I used used the "box" analogy for variables and it worked well. It was fairly uneventful experience, I just worked through the exercises at my own pace and was through the book in a couple of weeks.

The problem with learning to program in a classroom environment is that one kid may find exercise one difficult, another kid may find exercise three difficult, etc, the probability that any kid will get 'left behind' at some point is high. Classrooms are pretty bad places for learning.

In my case I remember choosing x = x + 1 in my examples for this reason, as well as writing print as a function for consistency.
I've never taught programming, but i find your last point hard to believe. Programming is human-made, and it was created to be understood and used by humans -- in contrast to say, math or science where things just are. Maybe you can claim that only a small subset of people can get great at programming, but i think that the vast majority of people can manage to learn the basics given enough time.
Yes, they can. No, you can't force them to learn it in a practical way quite the same as you can, say, algebra. It's like teaching kids to paint. If you magically made everyone interested in painting most kids could become decent painters, but in real life they just aren't. Teaching a programming course to the general school population won't make 80% of kids capable of programming any more than compulsory art classes would make them into graphic designers.
I mean let's set aside the empirical sciences for a moment but mathematics is not just some weird set of rules that fell from the sky. It's designed by humans and for humans.

And for obvious reasons empirical models are also generally made to be understood by humans, though there at least you can argue that the underlying reality was not designed to be intelligible (and frequently isn't hence why we've got shortcuts like thermodynamics to reason about chaos).

Physical activity has existed since long before Homo sapiens. Do some people find it easy to participate in strenuous physical activity while others find it hard?

Why do you think that situation would be different for any other kind of activity that humans take part in?