Live data from Hacker News

Why kids don't program

johnlawrenceaspden.blogspot.com

11–20 of 96 posts

Re: Why kids don't program

#11
post #7

In reality, I'd wager there's a _lot lot_ more kids programming today than 30 years ago. How many people had a computing device at home back then? This anecdote makes the point that a very specific kind of thinking was better suited by the tools of the late 70s, and maybe - I've never been much inclined towards it, so I dunno. And what we consider 'programming' is blurrier than it used to be. Is HTML programming? Wha…

And I disagree with you here. Writing declarative HTML and writing a simple interactive computer game are two activities that could not be more different. Like it or not, the act of programming has become much more difficult than it once was. 1988 I could reboot my Apple IIgs, hold down a couple of keys, and I could start writing a BASIC program immediately.

And in 1995, I could write interactive (quasi) graphical games on my TI-81. Without rebooting. At the time, a TI-81 was pretty fancy, but I've seen plenty that leads me to believe that nearly every kid today has a TI-83 for their math class. It's not quite basic, but it's certainly programming, and it's just as easy and accessible as an Apple used to be.

Re: Why kids don't program

#12
post #4

Teach children to draw on a canvas in javascript. You can easily make a page with a javascript editor and immediate evaluation if you wish, and simplified api.

Someone should build a social and pedagogical programming environment for kids on the web. The main problem here is the frustrating fact that one stupid browser doesn't support an HTML tag that's now 4 1/2 years old.

Re: Why kids don't program

#13
post #11

Earlier quoted context omitted.

And I disagree with you here. Writing declarative HTML and writing a simple interactive computer game are two activities that could not be more different. Like it or not, the act of programming has become much more difficult than it once was. 1988 I could reboot my Apple IIgs, hold down a couple of keys, and I could start writing a BASIC program immediately.

And in 1995, I could write interactive (quasi) graphical games on my TI-81. Without rebooting. At the time, a TI-81 was pretty fancy, but I've seen plenty that leads me to believe that nearly every kid today has a TI-83 for their math class. It's not quite basic, but it's certainly programming, and it's just as easy and accessible as an Apple used to be.

Kids are not fooled. Programming a computer and calculator are also not the same thing. While I enjoyed hacking on my graphing calculator as well, the limitations of the calculator (no color, small screen, no keyboard) made it fairly limited for learning any broader concepts about programming.

Re: Why kids don't program

#14
post #4

Teach children to draw on a canvas in javascript. You can easily make a page with a javascript editor and immediate evaluation if you wish, and simplified api.

Someone should build a social and pedagogical programming environment for kids on the web. The main problem here is the frustrating fact that one stupid browser doesn't support an HTML tag that's now 4 1/2 years old.

There are some very nice programming environments for kids. MIT Scratch (http://scratch.mit.edu/) immediately springs to mind, for example.

Any particular reason it needs to be web-based?

Re: Why kids don't program

#15
Nothing will ever stop a hacker from programming and figuring out a machine, especially age.

I started when I was a tot during the days of DOS on an IBM box. At least kids these days have the internet, we were left to fend for ourselves.

Re: Why kids don't program

#16
post #11

Earlier quoted context omitted.

And in 1995, I could write interactive (quasi) graphical games on my TI-81. Without rebooting. At the time, a TI-81 was pretty fancy, but I've seen plenty that leads me to believe that nearly every kid today has a TI-83 for their math class. It's not quite basic, but it's certainly programming, and it's just as easy and accessible as an Apple used to be.

Kids are not fooled. Programming a computer and calculator are also not the same thing. While I enjoyed hacking on my graphing calculator as well, the limitations of the calculator (no color, small screen, no keyboard) made it fairly limited for learning any broader concepts about programming.

The point is access, not completeness. Kids have access to more devices that are easy to program, just less so their computers.

Re: Why kids don't program

#17

Earlier quoted context omitted.

Someone should build a social and pedagogical programming environment for kids on the web. The main problem here is the frustrating fact that one stupid browser doesn't support an HTML tag that's now 4 1/2 years old.

There are some very nice programming environments for kids. MIT Scratch ( http://scratch.mit.edu/ ) immediately springs to mind, for example. Any particular reason it needs to be web-based?

Scratch is definitely a cool introduction to the world of programming. But I worry that in its attempt to make programming accessible sets up kids for a rude awakening. Most "real" programming isn't like that at all. Yet the kind of code I wrote in the 80s in Apple BASIC isn't so different "in kind" from a lot of the code I write professionally today.

Sorry for posting so many comments: I'm a teacher so the issue of computers, programming, and education fascinates me to no end :)

Re: Why kids don't program

#18

Earlier quoted context omitted.

Someone should build a social and pedagogical programming environment for kids on the web. The main problem here is the frustrating fact that one stupid browser doesn't support an HTML tag that's now 4 1/2 years old.

There are some very nice programming environments for kids. MIT Scratch ( http://scratch.mit.edu/ ) immediately springs to mind, for example. Any particular reason it needs to be web-based?

Yes, because every kid (at least in the 'developed' world) nowadays has web access but not every kid can install software on the machines they are allowed to use (for instance in school, the library or their parents' machine).

Re: Why kids don't program

#19
It's actually fairly easy to do what he wants today.

    ipython -pylab 

    [...boilerplate...]

    In [1]: n = arange(255)

    In [2]: plot(n, 88+80*sin(n*pi/128))
http://imgur.com/oSd62.png

As for the "imaginary diffusion equation" (I assume he means the Schrodinger equation), here is a simple program which solves it on the torus:

    from pylab import *
    from numpy.fft import *

    def freeSchrodingerSolver(input, dx, dt):
        np = input.shape[0]
        k = arange(np)*2*pi/dx   #Coordinate system in k-space
        k[np/2:] -= np*2*pi/dx   #FFT puts negative frequencies
                                 #on right side of array
        return ifft(exp(complex(0,-dt)*(k**2)/2)*fft(input)) / np
I really doubt it was easier to do that on a ZX Spectrum.

Re: Why kids don't program

#20
post #4

Teach children to draw on a canvas in javascript. You can easily make a page with a javascript editor and immediate evaluation if you wish, and simplified api.

> Teach children to draw on a canvas in javascript.

I've thought a few times that this is the modern equivalent of the immediate feedback "plot via BASIC".

It's even better, given the fact that JS is a decent language and the results are more easily shareable with your friends.

Post reply on HN