Why Johnny Can't Code
GoCanes writes "Salon has an article named 'Why Johnny Can't Code,' an interesting examination of the dearth of line programming languages available today. At first I wanted to read this and say aha, here's a simple line oriented language that's available through open source, but after reading the article I couldn't find any. And being an old fart, I remember the days spent with edlin and basic."
GreyPoopon
--
Why is it I can write insightful comments but can't come up with a clever signature?
What a load of rubbish.
apt-get install \
bash \
python \
gambas2 \
kturtle \
fp-compiler fp-units-base \
php5-cli
The reason children don't code (if that is even true, as it's a completely unsubstantiated assertion) is because they don't want to.
I started programming when I was ten, and I did it by hand-converting Z80 assembly language to machine code and then used BASIC poke commands to write them into memory. I had to work hard to scrape a C compiler from somewhere and that was heaven.
Today it is a million times easier to write a program if you wanted to. Blame ease-of-use culture; blame video games; blame stupid parents; but blaming the lack of access to programming languages is ridiculous to say the least.
Carpe Daemon
Visit http://www.salon.com/news/cookie756.html to get the cookie first.
http://www.nicholson.com/rhn/basic/
How about bwbasic (https://sourceforge.net/projects/bwbasic/)? It's available for my FreeBSD system, my Ubuntu system, even MS-DOS... Sure, it might not be as über-sexy as buying a second-hand C64, but it's there for you to try BASIC programs..
Intosi
If you really want to play with BASIC, you still can. There is Freebasic, at http://www.freebasic.net/, a GPL'ed open source BASIC compiler.
The Original Post didn't mention that I thought it might be of interest to some people to know that ahead of time. Perhaps influencing the descion about reading it or not.
Power Corrupts,Absolute Power Corrupts Absolutely, leaving one person(group)in charge is absolutely corrupt.
Are you seriously telling me that with languages like VB.net, C#, Ruby, javascript and other 'easy' languages, kids can't learn to code these days? I call BS on this. Sure, I started on an Apple IIe in 4th grade, and gradually moved up to real languages (C, PHP, etc etc) eventually, but that doesn't mean the 'lack' of BASIC stops kids from coding.
There are even languages developed solely to interest kids in programming.
http://www.kidsprogramminglanguage.com/
http://en.wikipedia.org/wiki/Alice_(software)
I'm sure there's more out there, but Alice was the one I remembered, and found KPL on the way.
No, there are no more barriers to programming than any other science.
"If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
a line oriented language is one where all the parts of the command have to be on a single line. some newer ones allow a line seperator so that you can make it easier to read.
this is opposed to statement oriented where all parts have to be part of the single statment, usally multiple lines but with a statement ender, or a block oriented language that has begining and ending tags for the block.
None of those are line-oriented programming languages. They are block-oriented and some of them are object-oriented programming languages. A line-oriented programming language looks like this:
A block-oriented programming language looks like this:
And an object-oriented one looks something like this:
I realize that there's easier ways to do it with Java than the one shown, but as many in Slashdot have said, the guy who doesn't produce code that makes a computer science professor get an orgams by just reading it is not going to get a job - I'm talking to you, whoever it was that said that using a goto results in automatic rejection of the applicant.
So, anyway: if you were a kid, you might write the two-line Basic script, or even the C one; but would you bother with Java, or would you give up ? And more importantly, since kids mostly learn from other people's code at the beginning: which code is the easiest to reverse engineer ?
Forget magic. Any technology distinguishable from divine power is insufficiently advanced.
I'm particularly glad you mentioned Squeak. For a kid who's very curious, Squeak is the ultimate learning environment. Not only can you write very interesting programs very easily using the powerful tools it provides, but you can also dig around in the system internals themselves! Just fire up the class browser, and voila, everything is laid bare before you. And if you bugger something up, you just terminate the VM and reload the image! Truly a *fantastic* system, one I wish I had access to when I was first dipping my feet into programming.
Do you even know who he was (he died a few years ago)?
Yes, I think he overstated the case against BASIC (although I believe BASIC was much worse when he wrote that than by the time Commodore came along), but he's probably one of the top ten or so computer science figures of all time, along with John Bachus, John McCarthy, Tony Hoare, John Von Neuman, Alan Turing and a few others.