Timeline for Separating and organising modules with objects?
Current License: CC BY-SA 2.5
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 1, 2011 at 11:59 | vote | accept | pimvdb | ||
Feb 25, 2011 at 19:58 | comment | added | ChaosPandion | @pimvdb - Oh I see, you are thinking more in terms of clarity rather than a literal interpretation of organized. | |
Feb 25, 2011 at 19:55 | comment | added | pimvdb |
That's true, but just defining a module as var someModule = { ... } is clearer in my opinion. Nevertheless, I'm going to use the closure way - thanks.
|
|
Feb 25, 2011 at 16:40 | comment | added | ChaosPandion | @pimvdb - How so? One would think that allowing extra protection for your private state qualifies as improving organization. | |
Feb 25, 2011 at 16:00 | vote | accept | pimvdb | ||
Mar 1, 2011 at 11:59 | |||||
Feb 25, 2011 at 16:00 | vote | accept | pimvdb | ||
Feb 25, 2011 at 16:00 | |||||
Feb 25, 2011 at 6:39 | comment | added | pimvdb | Looks less organised, but surely has its advantages. | |
Feb 24, 2011 at 18:38 | history | answered | ChaosPandion | CC BY-SA 2.5 |