Timeline for Better way to access private members in Javascript
Current License: CC BY-SA 2.5
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 2, 2012 at 22:26 | comment | added | Justin Ohms | +1 one side effect is all the wacky closure schemes tend to break many IDEs code assist | |
| Jun 25, 2009 at 4:29 | comment | added | Faisal Vali | @Triptych - while i generally agree that if you have to fight a well designed language to do what you want to do, then you should really reconsider your design. But, in this case, simulating private access through function scope variables and closures is endorsed as a natural javascript idiom by many well-established and seasoned javascript programmers. | |
| Jun 25, 2009 at 3:53 | history | edited | John Kugelman | CC BY-SA 2.5 | added 182 characters in body; deleted 1 characters in body |
| Jun 25, 2009 at 3:48 | comment | added | Kenan Banks | I agree. Forcing fake private access in languages that don't support it usually means UR DOING IT RONG. | |
| Jun 25, 2009 at 3:30 | history | edited | John Kugelman | CC BY-SA 2.5 | added 82 characters in body |
| Jun 25, 2009 at 3:24 | history | answered | John Kugelman | CC BY-SA 2.5 |