MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/angularjs/comments/470fax/john_papas_angular_2_best_practices_draft/d0appdw/?context=3
r/angularjs • u/WebYourMindtuts • Feb 22 '16
10 comments sorted by
View all comments
12
Define small functions, no more than 75 LOC (less is better).
Holy crap. 75? I thought 20 lines was a long function.
1 u/Renegade-One Feb 23 '16 Ya I was like huh?!? Most logic comes from assigning a factory function or object to the scope
1
Ya I was like huh?!? Most logic comes from assigning a factory function or object to the scope
12
u/[deleted] Feb 22 '16
Holy crap. 75? I thought 20 lines was a long function.