Hacker News new | ask | show | jobs
by rytis 5185 days ago
yet there are a lot of concepts they need to digest before they jump into the html/js world. it already means they need to learn two languages (html and js), interaction between them , etc... I'm not even mentioning things like - open notepad, save the file, make sure you get the extension right, fire up the browser, click open (why not in address bar? oh yeah, you can, but tell a kid the file:///<blah> business and see if they remember it after 3-4 days of not doing it) and see what happens. of course it's just a reload away next time.

not as easy as qbasic.exe, then typing in some code in, then hitting 'run' and seeing what happens.

speaking from experience here, i have 8 and 10 yo, and tried this with both of them. my friend tried with his 9 yo. they seem to get the idea of assignments, loops etc, but it just doesn't excite them. can't generalise on a test sample of 3, so just my 2p.

2 comments

I still maintain that

  - Start -> Run -> notepad
  - <html>Hello, World!</html>, Save As "hello.htm" on desktop
  - double-click it and watch it appear in a browser
Is 1% of 1% of the effort it took to program an 8-bit machine.
The difference is how easy it is to find the information about what to do.

Someone totally new won't know what notepad is, won't know what html is, and won't know how to make the browser show it, and the manual that came with his computer will say nothing about it.

You start a browser, there's no hint what to do. You start searching for "how to make a web page" and you get a bewildering array of information, some of which are totally over-engineered.

On the other hand hooked up a VIC-20 or C-64, opened the manual, and what stared you in the face in the first chapter was your first program.

I remember opening a browser, selecting the "View Source" option, and there was my first web page. I really started to learn how to program when a misconfigured web server spit out the source code to a web app that I enjoyed using.

I think the commonality between us here is that having access to the source itself provides the best learning environment.

Yeah, but the thing with that is, it fucking sucks.

What about 10 print "HELLO" 20 GOTO 10

Or something like that? If I wanted hello world on the screen I'd get a piece of damn paper. The beauty of quick basic was it got you into procedural code, where the computer does stuff. You can get someone going with Python relatively easily but not as easy as QBasic was on a Mac II in the school computer lab.

You can say there's been a cultural shift but every generation's been saying "kids these days", back to at least Socrates. I'd say that not having QBasic be one of 6 icons you can click is a bigger change, it's not the kids.

You may as well just open up notepad and type "Hello, world!", and leave it at that. HTML is not a programming language; if you want to program on the Web you do have to jump into JavaScript.
I would recommend not trying to teach for loops etc... Show them how to tie a function to an image to make it move across the screen as a building block to make a game and they will find it interesting. Maybe start with flash/actionscript so they can see (click image > write code for image > image does stuff)
unfortunately in the selection that I have of 8 (mine), 9 (not mine) and 10 (mine) none are bright enough to grasp the concept of a 'sprite' yet, i'm not even talking about relating code to that sprite. flash/actionscript? ho many steps are there between typing something and actually getting stuff appear on the screen? I've written 2-3 simple swf's, and it caused my head to spin... you think a kid could do it? on their own?...

friend of mine ('owner' of the 9yo), tried some sort of python environment which was supposed to do just that (i think it's this: http://rur-ple.sourceforge.net/en/rur.htm, but not sure), but failed - quite limited in what it does, or get way too complicated if you want to tweak something.

so the whole experiment was a flop really...

Hmm true, I always considered Flash/Actionscript to be dead simple (Drag image to the view => click on it and add code to make it do stuff) However maybe it's because I grew up loading 5.5inch floppys in a computer without a hard drive that only ran DOS. This is actually something I've been thinking about lately since my son is now 4 months old and I'm trying to figure out how I'm going to teach him this stuff, I grew up evolving with the technology so a terminal window does not feel foreign to me. How do you start from scratch in the age of iPads etc.. ?
I am pretty sure when I was 10, it was normal for a kid to know what a sprite was (indeed the finer points of what and how your computer did sprites was playground argument stuff). Most people had at least had an attempt at creating their own game or demo. Kids these days only want to use computers.
yes, precisely. they want to use it to create other things. drawing, writing, presentations - they find it interesting. programming? not so. why? i don't know. i tend to think it's the tools, or the complexity of it all. on the second though, i think they all got too used to the instant gratification, in other words, the more time it takes to get the result, the less interesting/inspiring it becomes. and it kind of brings us back to the first point - tools are too complicated... :)