Why the lucky stiff has created a beautiful interactive ruby lesson [it doesn't work very well in Safari yet; try Firefox].
See his notes on what people try to do with it:
>> while true; puts 'Joe Junkpan' endI love it. That’s going to hurt you a lot more than it hurts me. Don’t forget not to type Symbol.all_symbols.
>> format c: >> cd c:\ >> delete c:\Oh no, my MP3s! My Usher collection! NO!
David Cohen, who showed me the page, said
First of all, this is fun and cool.
Second of all, it gets people (ok, it got me) over the issue of getting around to doing it--the instant gratification works wonders.
Third, perhaps someone should set something like this up for Lisp?
It got me to play with it.
Posted by jjwiseman at November 30, 2005 08:30 PMDavid Cohen writes: "perhaps someone should set something like this up for Lisp?". See for example the Virtual Allegro CL http://www.franz.com/products/allegrocl/prompt/
Paolo
There's one that works over telnet, which is almost as cool.
Posted by: Phil on December 1, 2005 09:11 AMThe ruby demo blows a telnet lisp prompt out of the water and off the planet in terms of coolness.
"The ruby demo blows a telnet lisp prompt out of the water and off the planet in terms of coolness."
Not to mention the design and deepness of the tutorial--the comments below the repl are both thoughtful and humorous. That guy is one heck of an asset to the Ruby community.
Ruby (or the spotlight it has) is tempting. If it had macros...
Posted by: Ignorant Bystander on December 1, 2005 10:14 AMA class browser and all smalltalkish/symbolics'sh facilites can be very nice to have in an ajax interface!!