Timeline for Self-Executing Anonymous Function vs Prototype
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 4, 2015 at 4:43 | comment | added | Daniel Sokolowski | I avoid them and to be honest I don't get the love with IIFEs. They are a messy to debug and break code outline in Eclipse. If you need a namespace stick it on an object, if you need to execute it just call it, and encapsulation doesn't really gain me anything. | |
| Jan 23, 2014 at 0:46 | comment | added | voithos | Note that "self executing anonymous functions" are commonly known as immediately-invoked function expressions (IIFE). | |
| Jan 13, 2012 at 16:15 | vote | accept | Robotsushi | ||
| Jul 7, 2012 at 17:47 | |||||
| Jan 6, 2012 at 10:12 | history | answered | sunwukung | CC BY-SA 3.0 |