mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Updated CodeReviewComments (markdown)
parent
b71f2733f9
commit
c4a66215d8
@ -417,7 +417,7 @@ then change the names or the semantics and you'll probably get a good result.
|
|||||||
|
|
||||||
This is, actually, exactly the same advice about how long a function should be. There's no rule
|
This is, actually, exactly the same advice about how long a function should be. There's no rule
|
||||||
"never have a function more than N lines long", but there is definitely such a thing as too long
|
"never have a function more than N lines long", but there is definitely such a thing as too long
|
||||||
of a function, and too repetitive tiny functions, and the solution is to change where the function
|
of a function, and of too repetitive tiny functions, and the solution is to change where the function
|
||||||
boundaries are, not to start counting lines.
|
boundaries are, not to start counting lines.
|
||||||
|
|
||||||
## Mixed Caps
|
## Mixed Caps
|
||||||
|
Loading…
x
Reference in New Issue
Block a user