News for hackers. Stuff that matters.
Re:The Little Javascripter by tumult on Saturday September 26, 2009 @07:30PM (#846264)
PLT Scheme is so easy to download and get started with. I really recommend you use that instead of JavaScript when working through The Little Schemer. http://www.plt-scheme.org/

I'm working out a problem right now for JavaScript (client-side dictionary/grammar thingy) and it's easier for me to explore the problem in Scheme.

I don't really know why anyone would voluntarily choose to use JavaScript when Scheme is available.

edit: I'm not hating on this idea. JavaScript DOES have first-class functions and lexical scoping, so you can indeed do The Little Schemer in it. I'm pointing out PLT Scheme for anyone who hasn't already done The Little Schemer and has had their interest piqued.

Re:The Little Javascripter by boucher on Saturday September 26, 2009 @08:08PM (#846298)
There are some people who prefer JavaScript to scheme. More importantly, many more people have been exposed to JavaScript than have been exposed to scheme.
Re:The Little Javascripter by swannodette on Saturday September 26, 2009 @10:44PM (#846440)
Those who know anything about JavaScript know that JavaScript WAS Scheme (plus Self). And then Brendan Eich was forced to adopt C style syntax because of the impending popularity of Java.
Re:The Little Javascripter by apgwoz on Sunday September 27, 2009 @11:09AM (#846902)
Yeah, but JavaScript IS not, by any stretch of the imagination anything like scheme today, aside from first class functions. It really pains me when people say JavaScript is scheme + self. That just isn't true.
Re:The Little Javascripter by tumult on Saturday September 26, 2009 @11:08PM (#846465)
Pretty sure boucher is aware :)
Re:The Little Javascripter by tumult on Saturday September 26, 2009 @08:16PM (#846307)
Totally. And I hope to expose these people to Scheme :)

That way, when your actual job calls for working on stuff in JavaScript (like me!), you have another perspective in your toolkit.