I've been writing a program for teaching people how to program:

And I've blogged about it on the work blog. I start by quoting Cory Doctorow's Little Brother:

And I've blogged about it on the work blog. I start by quoting Cory Doctorow's Little Brother:
If you’ve never programmed a computer, you should. There’s nothing like it in the whole world. When you program a computer, it does exactly what you tell it to do. It’s like designing a machine — any machine, like a car, like a faucet, like a gas-hinge for a door — using math and instructions. It’s awesome in the truest sense: it can fill you with awe.
A computer is the most complicated machine you’ll ever use. It’s made of billions of micro-miniaturized transistors that can be configured to run any program you can imagine. But when you sit down at the keyboard and write a line of code, those transistors do what you tell them to.
Most of us will never build a car. Pretty much none of us will ever create an aviation system. Design a building. Lay out a city.
Those are complicated machines, those things, and they’re off-limits to the likes of you and me. But a computer is like, ten times more complicated, and it will dance to any tune you play. You can learn to write simple code in an afternoon. Start with a language like Python, which was written to give non-programmers an easier way to make the machine dance to their tune. Even if you only write code for one day, one afternoon, you have to do it. Computers can control you or they can lighten your work — if you want to be in charge of your machines, you have to learn to write code.
no subject
Date: 2009-08-13 05:07 pm (UTC)Can you advise what languages would be worth looking into?
no subject
Date: 2009-08-13 06:46 pm (UTC)Graphical stuff sadly is hard in any modern environment, but you can get very nice results out of Cairo, which is what I use for my electoral charts - in Python, naturally :-)
no subject
Date: 2009-08-13 06:50 pm (UTC)One of the things I wanted to make was one of those simple ecological models (sharks eat the fish so the fish population drops so the sharks die out a bit so the fish population booms) that I could make much more customisable. The logic is easy, trying to write a program to display it was such a nightmare I gave up.
no subject
Date: 2009-08-13 06:55 pm (UTC)no subject
Date: 2009-08-13 08:10 pm (UTC)I think Processing make grapical stuff very very easy. Simple to invoke, deploy, and with tons of great examples online. :)
no subject
Date: 2009-08-13 08:17 pm (UTC)You can write fairly complex things that run inside a browser these days...
no subject
Date: 2009-08-14 05:06 pm (UTC)no subject
Date: 2009-08-15 02:03 am (UTC)I thought that Java was nice in that it includes a graphics library as standard, and it's easy just to write an Applet that you can immediately view in a browser.
In a lot of cases though, you can use many graphics libraries with many programming languages. What have you been trying so far to do graphics? I've found SDL is fairly easy to use for doing 2D game-style graphics.