Skip to content

Commit ed6d03d

Browse files
authored
Merge pull request #3175 from anttibraxbackup/patch-1
Remove incorrect reference to "Java parameter name length"
2 parents 5bd546e + 11744de commit ed6d03d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

_style/naming-conventions.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,7 @@ for local names to be very short:
356356

357357
def add(a: Int, b: Int) = a + b
358358

359-
This would be bad practice in languages like Java, but it is *good*
360-
practice in Scala. This convention works because properly-written Scala
359+
This convention works because properly-written Scala
361360
methods are quite short, only spanning a single expression and rarely
362361
going beyond a few lines. Few local names are used (including
363362
parameters), and so there is no need to contrive long, descriptive

0 commit comments

Comments
 (0)