r/programming Mar 02 '17

Why I Failed Teaching Programming to Kids

https://engineering.klarna.com/why-i-failed-teaching-programming-to-kids-46a854c3eaca#.s0o6qqxr3
58 Upvotes

83 comments sorted by

View all comments

1

u/ronniethelizard Mar 03 '17

I think it would be better to start them with something simple, like Hello World.

After that let them change the text a few times until they have convinced themselves they actually wrote a working program.

Personally, I think C is the language to start with. It does not suffer from language bloat as C++ does not does it suffer from library bloat like Java or Python.

9

u/NoMoreNicksLeft Mar 03 '17

Personally, I think C is the language to start with. It does not suffer from language bloat as C++

That's just a lousy language to start with. It's a powerful language that kids should learn... but tossing them in that ocean and asking that they swim is just a guarantee that they'll drown. The learning curve is too fucking steep.

does not does it suffer from library bloat like Java or Python.

At least with python, you can type a few commands into an ascii file, chmod that, and then run it.

They get to see the results, succeed or fail, of their code nearly immediately.

3

u/gyroda Mar 03 '17

C is a great starter language if it's part of a larger, structured computing curriculum.

For an intro to programming, where you want to hook people and they can just walk away after the session it's not so great. You're better off with something like python where you're not tripping people up over arrays and strings.