r/angularjs • • Feb 22 '16

John Papa's Angular 2 Best Practices (DRAFT)

https://github.com/johnpapa/angular-styleguide/blob/master/a2/README.md
86 Upvotes

10 comments sorted by

View all comments

12

u/[deleted] Feb 22 '16

Define small functions, no more than 75 LOC (less is better).

Holy crap. 75? I thought 20 lines was a long function.

4

u/SarSha Feb 22 '16

4-6 lines according to Uncle Bob :P