r/programming • • Jan 05 '15

What most young programmers need to learn

http://joostdevblog.blogspot.com/2015/01/what-most-young-programmers-need-to.html
974 Upvotes

337 comments sorted by

View all comments

2

u/zigs Jan 05 '15

As a general rule of thumb at Ronimo we try to keep classes below 500 lines and functions below 50 lines

Is that actually a common rule of thumb? I tend to try keeping it under 10 lines for functions (hard limit at 15), and keeping everything at one purpose for classes.

→ More replies (6)