Skip to main content

An interesting way to get children into programming

Yes, you can even use the environment to write
the kind of games we used to knock up in the old days
We keep hearing how not enough children get the basics of programming. I did my first programming towards the end of secondary school. We didn't have a computer at the school, so we would punch cards (by hand, a character at a time - we didn't have the card punching 'typewriters' we had at university), pop them in the post so they could travel down from Manchester to London where they were put through either University College or Imperial College's magnificent machine, then we would get a printout back in the post one to two weeks later saying we'd made a punching error. It taught you to be precise.

Now, of course, computers are everywhere, but surprisingly few children get a feel for programming them. Here's one possible way around it - http://www.robotbasic.org - what these guys do is to provide an environment where you can use a variant of BASIC to program a simulated robot. You can use the same code to control real robots if you've the money for the hardware, but the great thing about this for cash strapped schools is that the students can have the thrill of bringing something to life with their programming without any financial outlay. I must admit I haven't had time to give it a go, so I don't know how good it is - the website does look more functional than flashy, but that might be a good thing under the circumstances - but in concept at least it's great.

You might say 'but no one uses BASIC any more, this is a waste of time and effort,' but that misses the point. It gets young people into the mindset of programming, to get a feel for the idea that you can control a computer or a device any way you like, rather than running existing programs, and that surely is good. As for the language itself, I have no problems there. When I was at BA, we often recruited programmers who hadn't done a computer science course, because there was always so much for the compsci students to unlearn because the academic approach to programming was so different to the real world. It's probably a good thing these young programmers aren't learning bad habits in a 'real' language, but rather getting a feel for what it's all about that will stand them in good stead if they ever take it further.

Comments

Popular posts from this blog

Why I hate opera

If I'm honest, the title of this post is an exaggeration to make a point. I don't really hate opera. There are a couple of operas - notably Monteverdi's Incoranazione di Poppea and Purcell's Dido & Aeneas - that I quite like. But what I do find truly sickening is the reverence with which opera is treated, as if it were some particularly great art form. Nowhere was this more obvious than in ITV's 2010 gut-wrenchingly awful series Pop Star to Opera Star , where the likes of Alan Tichmarsh treated the real opera singers as if they were fragile pieces on Antiques Roadshow, and the music as if it were a gift of the gods. In my opinion - and I know not everyone agrees - opera is: Mediocre music Melodramatic plots Amateurishly hammy acting A forced and unpleasant singing style Ridiculously over-supported by public funds I won't even bother to go into any detail on the plots and the acting - this is just self-evident. But the other aspects need some exp

Is 5x3 the same as 3x5?

The Internet has gone mildly bonkers over a child in America who was marked down in a test because when asked to work out 5x3 by repeated addition he/she used 5+5+5 instead of 3+3+3+3+3. Those who support the teacher say that 5x3 means 'five lots of 3' where the complainants say that 'times' is commutative (reversible) so the distinction is meaningless as 5x3 and 3x5 are indistinguishable. It's certainly true that not all mathematical operations are commutative. I think we are all comfortable that 5-3 is not the same as 3-5.  However. This not true of multiplication (of numbers). And so if there is to be any distinction, it has to be in the use of English to interpret the 'x' sign. Unfortunately, even here there is no logical way of coming up with a definitive answer. I suspect most primary school teachers would expands 'times' as 'lots of' as mentioned above. So we get 5 x 3 as '5 lots of 3'. Unfortunately that only wor

Why backgammon is a better game than chess

I freely admit that chess, for those who enjoy it, is a wonderful game, but I honestly believe that as a game , backgammon is better (and this isn't just because I'm a lot better at playing backgammon than chess). Having relatively recently written a book on game theory, I have given quite a lot of thought to the nature of games, and from that I'd say that chess has two significant weaknesses compared with backgammon. One is the lack of randomness. Because backgammon includes the roll of the dice, it introduces a random factor into the play. Of course, a game that is totally random provides very little enjoyment. Tossing a coin isn't at all entertaining. But the clever thing about backgammon is that the randomness is contributory without dominating - there is still plenty of room for skill (apart from very flukey dice throws, I can always be beaten by a really good backgammon player), but the introduction of a random factor makes it more life-like, with more of a sense