File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -363,10 +363,10 @@ going beyond a few lines. Few local names are used (including
363
363
parameters), and so there is no need to contrive long, descriptive
364
364
names. This convention substantially improves the brevity of most Scala
365
365
sources. This in turn improves readability, as most expressions fit in
366
- one line and the arguments to methods have descriptive type names.
366
+ one line and the parameters for methods have descriptive type names.
367
367
368
368
This convention only applies to parameters of very simple methods (and
369
369
local fields for very simply classes); everything in the public
370
- interface should be descriptive. Also note that the names of arguments
370
+ interface should be descriptive. Also note that the names of parameters
371
371
are now part of the public API of a class, since users can use named
372
372
parameters in method calls.
You can’t perform that action at this time.
0 commit comments