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.
Why kids don't program
21–30 of 96 posts
Re: Why kids don't program
#22Teach 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.
A massive advantage of BASIC was that it would tell you it was wrong as soon as you typed something with a syntax error in it, and it put a big flashing "?" (or similar) right there until you fixed it. Can JS be made to do that?
Re: Why kids don't program
#23Re: Why kids don't program
#24Eventually this led to html, javascript, php, VB, C#, etc. Dad wasn't real thrilled when he realized I used all of the printer ink to do this, but I'd say it was a pretty good return on his investment.
EDIT: I'd like to play with BASIC again, anyone know of a way to do that on OSX? VM?
Re: Why kids don't program
#25Earlier quoted context omitted.
> 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.
Are there decent tools to debug and check JS for you, so that you don't have to rely on the browser built-in support (which is incredibly forgiving but also doesn't tell you what is going on)? A massive advantage of BASIC was that it would tell you it was wrong as soon as you typed something with a syntax error in it, and it put a big flashing "?" (or similar) right there until you fixed it. Can JS be made to do that…
And it would have syntax colouring which basic lagged in.
Re: Why kids don't program
#26Re: Why kids don't program
#27Re: Why kids don't program
#28It'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.shap…
Re: Why kids don't program
#29In 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…
Re: Why kids don't program
#30It'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.shap…
In my case: I started on basic in dos 5 or dos 6 when I was 10 or so, and every function I had to my disposal was listed in the help file. Alphabetically and by sorted by category. Sooner or later you find the SETPIXEL function, then discover screen 13, then discover how to draw lines and so on. You can discover that "one more thing" pretty easily, and at no point can you get stuck because dependencies are missing or you have the wrong version of libgd. Basic was installed on the family PC, and I had gorillas and snake as example programs to study. Many people I know started in a similar way.
Compare this with python today. First you have to download and install it. You don't just discover it by accident. Then you have to learn the whole edit program, save program, run in python steps. BASIC had a primitive IDE, Python doesn't. Then you have to understand packages and package management, learn how to install pylab, and so on. Python also isn't a very forgiving language.
Programming sound on BASIC was trivial too. The moment you discover SOUND and PLAY you can make primitive melodies. Want to delay? Add a few SLEEPs in between. Exploratory programing at its best, and no internet connection required.