3 ms·
There is already an ideal language to teach kids, and it exists right now. PHP. Whether or not you think it's a good language for building real world applicat
by alextgordon 17y ago
There is already an ideal language to teach kids, and it exists right now.
PHP.
Whether or not you think it's a good language for building real world applications, it does have a lot of going for it when considered as a teaching language.
* It's weakly typed, dynamically typed and lacks variable declarations.
* It doesn't require learning OOP concepts before you can use it.
* The internet is full of free tutorials, documentation and knowledgeable people.
* There is only one variant. It's in active development.
* It's not so far removed from today's widely used languages. PHP -> Python is going to be easier than BASIC -> Python.
* It can be used to build real things. Despite what we'd like to think, command line interfaces are hardly ever used by the general population. Kids use websites on a regular basis. This is what will get them excited about programming.
- plinkplonk 17y ago"Whether or not you think it's a good language for building real world applications, it does have a lot of going for it when considered as a teaching language." You must really hate kids?
- alextgordon 17y agoThe reasons why many hackers (including myself) dislike PHP are totally irrelevant to its merits as a teaching language. I don't like the type system, I don't like how OOP is seemingly an afterthought, I don't like the mishmash of syntax or the irregularities in function naming. These are fine reasons for a programmer to eschew it, but I can't see how they would be a hindrance to anyone learning the concepts of programming.