News for hackers. Stuff that matters.
Re:“I hate almost all software” — Ryan Dahl by patrickc on Friday September 30, 2011 @12:48AM (#3055728)
If it ain't got macros, then it ain't a Lisp. Javascript is definitely no Lisp, but I really like that it allows function composition, which is somehow reminiscent of a Lisp. f(g(h(x))); instead of (f (g (h x)))
Re:“I hate almost all software” — Ryan Dahl by eurleif on Friday September 30, 2011 @12:54AM (#3055741)
Um, pretty much every C-derived language supports function composition, and uses that syntax for it. Am I missing something?
Re:“I hate almost all software” — Ryan Dahl by patrickc on Friday September 30, 2011 @01:32AM (#3055794)
You're right. I meant to say passing first-class functions as arguments, rather than pointers to functions as you would in C or an object method as you would in Java.