News for hackers. Stuff that matters.
Re:Preparing Yourself for Modern JavaScript Development by ufo on Friday July 06, 2012 @02:06PM (#4208940)
The first time I saw something like IIFEs was in one of the SICP lectures, where they show that variable definitions with let or define can be seen as syntactic sugar over immediately invoked lambdas.

And even those Scheme uber-nerds considered it big hack, more useful in theory then in practice.

Re:Preparing Yourself for Modern JavaScript Development by silentbicycle on Friday July 06, 2012 @09:00PM (#4210332)
It's useful as a de-sugaring step during compilation, not something people generally do by hand.
Re:Preparing Yourself for Modern JavaScript Development by ufo on Sunday July 08, 2012 @01:27AM (#4213750)
Continuation Passing Style is also supposed to be used as part of acompilation step but look at how everyone does in by hand in Javascript-land :(
Re:Preparing Yourself for Modern JavaScript Development by silentbicycle on Wednesday July 11, 2012 @02:33PM (#4230618)
For real. I tried to find a way to point that out without sounding snarky, gave up.