Gaia/ExistingStylesPatterns: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
 
Line 4: Line 4:


Please help to contribute to this page to make this more clear and open.
Please help to contribute to this page to make this more clear and open.
== From Alive ==
1. All 40+ lines functions would be rejected. It kills reviewer.
2. Don't use constructor to defined all methods. It damage performance and memory efficiency:
http://stackoverflow.com/questions/3493252/javascript-prototype-operator-performance-saves-memory-but-is-it-faster/4041582#4041582


== Common Principles ==
== Common Principles ==
Line 64: Line 55:


Thus, the 'tsEnd' would be the reference, wherever in the function or out of it.
Thus, the 'tsEnd' would be the reference, wherever in the function or out of it.
== From Alive ==
1. All 40+ lines functions would be rejected. It kills reviewer.
2. Don't use constructor to defined all methods. It damage performance and memory efficiency:
http://stackoverflow.com/questions/3493252/javascript-prototype-operator-performance-saves-memory-but-is-it-faster/4041582#4041582
Confirmed users
201

edits

Navigation menu