Re:Learning Advanced JavaScript
by TheBranca18 on Friday April 30, 2010 @11:02PM
(#1310031)
This is really informative. Being able to edit the examples like that reminds me of the W3c site on crack :). It's silly but I think the colors and fonts have something to do with it.
One thing though, on Chrome (Mac 5.0.342.9 Beta), intermittently I can't click next to get to the next slide, I get the following error:
/apps/learn/jquery.chili.js:241 Uncaught ReferenceError: $el is not defined. This does not happen every time.
Re:Learning Advanced JavaScript
by asnyder on Saturday May 01, 2010 @12:44AM
(#1310124)
Feels very similar to The Little/Seasoned Schemer, I'm sure with a bit more prose this could be the new equivalent. The hard part is coming up with an alternative to all the elephants.
Re:Learning Advanced JavaScript
by Silhouette on Saturday May 01, 2010 @06:38PM
(#1311359)
I must be missing something here: all I see are the slide titles, the code area, and the results underneath. I see no explanatory text anywhere, though the HTML source for each slide is full of it. :-(
Running Firefox 3.6 on Windows XP if that makes any difference.
Re:Learning Advanced JavaScript
by domdefelice on Sunday May 02, 2010 @03:30AM
(#1312147)
There is NO explanatory text anywhere.. which HTML source have you seen?
The tutorial is really just title, code area and results :-)
This is a "learn by example" tutorial, aimed at who already knows a little javascript.
Re:Learning Advanced JavaScript
by ericlavigne on Saturday May 08, 2010 @05:35PM
(#1330967)
I started this tutorial with zero prior knowledge of Javascript, but I have still learned a lot from it. I am now 2/3 of the way through. The challenge of guessing what will work helps to keep me engaged. The extra time that I need to spend on a slide, compared to someone who already knows a little Javascript, is probably paid back in extra retention. I love this tutorial and am excited about adding a little Javascript to my projects.
Re:Learning Advanced JavaScript
by Silhouette on Sunday May 02, 2010 @11:26AM
(#1312593)
I just did a view source on one of the pages to see if I was missing something, and it was full of what looked like explanations: loads of text in HTML definition lists, which seemed a bit unusual, but I figured that was something to do with how the material was meant to be structured.
Re:Learning Advanced JavaScript
by apphacker on Saturday May 01, 2010 @01:55AM
(#1310192)
The closure section needs work. My closures never look like that. I have functions that return functions to create my closures, usually via a library via dojo.hitch, $.hitch, or goog.bind.
Re:Learning Advanced JavaScript
by apphacker on Saturday May 01, 2010 @12:26PM
(#1310729)
Well a hitch or bind function delivers more than just ability to create quick closures. It lets you define the functionality you want in a named function, allowing for code re-use and more readable code. Also I'm obviously not using the library just for bind.
One thing though, on Chrome (Mac 5.0.342.9 Beta), intermittently I can't click next to get to the next slide, I get the following error: /apps/learn/jquery.chili.js:241 Uncaught ReferenceError: $el is not defined. This does not happen every time.
Running Firefox 3.6 on Windows XP if that makes any difference.
http://www.google.com/search?q=site:ycombinator.com+http://e...