Try Clojure
Nice work.
Assuming you're trying to advocate Clojure, I'd recommend changing your tutorial to make things look easy (as opposed to highlighting gotchas). I recommend doing math examples first. Show how it makes a good calculator, but avoid discussion of ratios. That's (unnecessarily) confusing.. just like everything in the hello world example starting from the nil output on.
By the time I got to the sequence page, I just hit next to see if there was anything else of interest. I'd already gotten the strong impression this new language would just make my life harder. Worst of all though was when I flubbed up and typed (/4 3) rather than (/ 4 3).
Neat! FYI, the editor is fairly busted on FF 3.6.3. Key repeat for arrow keys does not work, and paste is broken. Not sure what they're using, but it would also be nice if it supported readline-style navigation (i.e. M-f, M-b, C-e, C-a, etc).
Without emacs and its plethora of hellspawn requirements for a decent clojure environment, I just don't feel comfortable!!
Grats on a nice web-based repl though :)
Looking better and better. Someone with design chops should fork the repo and give them a good logo and a color treatment.
This isn't really a Clojure specific question but is there any benefit to making 'if' a special form? Meaning you can't do:
(map if [true false true] [1 1 1] [2 2 2])
not that I can think of any reason why you'd want to do that (specifically) but Picolisp, Factor, REBOL and I'm sure a couple other languages implement if as a normal function. To take an example from some edition of programming clojure:
(defmacro unless [expr form] (list 'if expr nil form))
in factor:
: unless ( ? quote -- ) swap [ drop ] [ call ] if ; inline
no macro needed to futz with if's.
Does it have any advantages or is it just one of those things that "that's just how it's always been"?
This only halfway works in Opera [10.53 on Linux]. You can type, but then if you fill the output area, only autoscrolls down after you press Enter. But otherwise, you can't see what you're typing while you type it. And then focus goes all out of whack if you scroll the tutorial, or use up arrow and down arrow. Sometimes it accesses the readline history, sometimes it scrolls the screen, and seems somewhat arbitrary. Some of this could be blamed on the betaness of Opera, though.
Man that teddy bear scares me off, I'd hate to make a typo and crash someones server.
What kind of precautions against newbie messes are there ?
A Clojure REPL that works on iPhone and iPad platforms. Will the wonders of web application delivery never cease? :)
Nicely done. Would be nice to support copy/paste into the editor. Get rid of the dark grey background on code snippets in the tutorial -- very difficult to read.
Having REPL inline with the tutorial is great...wish someone would build something similar for Haskell.
That's cool, only thing left now; in the tutorial, change the color scheme (from black on darkgray) to something a little more legible, and make the examples clickable, so I don't have to retype them in the repl.
Awesome! Also noticed that it retains your session (at least for a while) even if you close the browser windown. It seems however to give up when trying to write code on multiple lines.
What! No Paredit?
Great work.
Please hook this up to ymacs!
Also, the highlighting in the tutorials makes the code difficult to read.
When hitting the up arrow it should go to the last line, not the first.
Is anyone embedding Bespin for idea's similar to this?
copy-paste broken in ff36 on snow leopard.
Can't navigate with arrows. Frustrating.