Quote from hippy on November 18, 2011, 13:27
10 PRINT "I rulez"
20 GOTO 10
You are right, a good many of us older programmers have been saying this for years ... http://slashdot.org/comments.p.....d=16103375
I worry that with R-Pi there is still going to be quite a hurdle for a young kid between getting one of these out of the box and getting his or her first interesting program running. As a long time developer (assembler, C, C++, Java, Perl, Jython, Bash, sed, awk, and others I can't remember), I'm sure I can help a kid get any pretty much any language up and running with a bit of effort, but this isn't supposed to be for people like me.
It would be good if from powering up it booted straight into some easy IDE for a simple language that didn't require understanding of formal types or rigid formatting. Then like with Basic, as they progress further they will find how to break out of that environment and do other things.
I like writing code, but I don't like reading manuals and I only really do it because I have to as it is my job. If I can get away with copying simple examples to get started I will.
So what language?
Well Bash is going to be there like Basic was, but really Bash isn't as useful as Basic was years ago. Syntactically it is quite difficult to add two numbers together.
I'm not a big fan of Perl for lots of reasons, but at least you don't have to distinguish between strings and numbers and you really can start with:
print "I Rulez\n";
but there won't be any easy way to do graphics.
I do like Java but I don't think that a kid who does not yet know he wants to be a developer is going to take to it as a first language. There a bit of boiler plate required just to start your program.
I don't know Logo - but it sounds like it might be a good starting point.