Write small classes, functions
by on
Write small classes, functions
by on

Write small classes, functions

{t} This enhances readability.
Try to stay below 30 lines of code
(including comments and white space)
per function or method.
For functions with 30 to 70 lines of code,
reviewers can request a split, if beneficial.
Never exceed 70 lines of code per function.

Other scopes such as tests should also be kept small,
but the above hard limits do not apply to them.

Love this card?

Support c4bayergmailcom's creations
with a gift of Premium Membership!

Gift

Card Comments