News for hackers. Stuff that matters.
Re:Lisp after Python after Lisp by jamongkad on Thursday March 12, 2009 @11:11PM (#514448)
Isn't this how you use closures? I think I've been doing this with my javascript code without even noticing it. :-)
Re:Lisp after Python after Lisp by danprager on Friday March 13, 2009 @01:13AM (#514536)
Yes, these idioms would work in Javascript too.

I guess the point is that people are starting to discover that languages like Python and JS support these functional idioms quite nicely.

Remember when all the books on JS pretended that it was some kind of crippled cousin of Java (as the name suggests), rather than a Scheme-lite in Java-esque syntax (as its designer has opined).

Re:Lisp after Python after Lisp by jamongkad on Friday March 13, 2009 @02:23AM (#514583)
Haha yes, I do remember those times. Now that you've mentioned it another language that fits the description of a Scheme-lite in Java-esque syntax is Lua.