Timeline for Basic JavaScript OOP model object
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 9, 2014 at 21:53 | comment | added | pllee | +1 for self = this seeing that convention used improperly bothers me way more than it should. | |
| Apr 9, 2014 at 13:34 | vote | accept | Tancrede Chazallet | ||
| Apr 9, 2014 at 13:28 | comment | added | megawac | I would use map instead of each in those last 2 examples | |
| Apr 9, 2014 at 13:27 | comment | added | Tancrede Chazallet | In which way JSON Way is less good for reusable class than constructor functions ? | |
| Apr 9, 2014 at 13:25 | vote | accept | Tancrede Chazallet | ||
| Apr 9, 2014 at 13:28 | |||||
| Apr 9, 2014 at 13:24 | comment | added | konijn | Singletons -> 'JSON Way', if you are going to have many objects of the same type -> constructor functions | |
| Apr 9, 2014 at 13:08 | comment | added | Tancrede Chazallet | Thank you for your answer, it's wath I searched as an answer, especially the "Other than that" really usefull :) I edited my question to try to be clearer on my 3th question (sometime I lack to express myself). I read it in a course but they don't say which one could be better and why. I wonder about it. | |
| Apr 9, 2014 at 12:54 | history | answered | konijn | CC BY-SA 3.0 |