March 19, 2010There is Brilliance in this LanguageDouglas Crockford, speaking about Javascript, explains why the vilified language is actually full of brilliant features and has "much more expressive power than the classical system." He also gives an entertaining view of the history of web programming, which roughly traces the timeline of my personal experience, from HyperCard to NCSA to Netscape to IE to Google. Worth a watch. (mp4 wmv other) I have been thinking that Javascript is really the right first programming language for kids to learn. I might give it a try with a little group of kids this spring. Any advice? Posted by David at March 19, 2010 07:01 AMComments
By the way, Doug mentions cryptically that although it the decision to having only a single Number type in Javascript was brilliant, the choice of type as IEEE-754 binary64 "double" was unfortunate, because its need to approximate 0.09 as 0.08999999999999997 is confusing for programmers who are counting money. Perhaps a binary-coded decimal system such as IEEE-754 "decimal64" might have been a better choice. What do you think? http://en.wikipedia.org/wiki/Decimal64_floating-point_format Hm? What happened to Python being the right first programming language? I have never tried Javascript before, but I'm picking up C++ pretty quickly as a first language, using the guides on learncpp.com I've also used your articles about teaching Anthony to use Python to learn a bit about it, but never got into it much. Posted by: Daniel at March 22, 2010 09:10 PMPython is the best learning language! It is far more readable and accessible than other languages. And it's used by professionals - it is real. But after some time on python, my son got to the point where he wanted to show off his programs to his friends. When I had to explain that his friends would have to install python to run his programs, and that they couldn't just play with them on the web like you can do with any Flash game, he was disenchanted. Even for a kid, Distribution is King. We spent a little time looking at programming in Flash. But that's hard and requires pricey tools (or clunky open-source ones). On the other hand, Javascript-in-the-browser very accessible. Particularly if you add in a standard library like jQuery to smooth out the DOM, it's not really horrible at all. Now my challenge is to figure out what the right "first 10 programs" for a Javascript kid should be. Shakeing windows with moveTo(), escaping buttons and other pranks! Posted by: Olev at March 23, 2010 08:58 PMPost a comment
|
| Copyright 2010 © David Bau. All Rights Reserved. |