4 ms·
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
by ufo 14y ago
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.
- silentbicycle 14y agoIt's useful as a de-sugaring step during compilation, not something people generally do by hand.
- ufo 14y agoContinuation 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 :(
- silentbicycle 14y agoFor real. I tried to find a way to point that out without sounding snarky, gave up.