Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commited6d03d

Browse files
authored
Merge pull request#3175 from anttibraxbackup/patch-1
Remove incorrect reference to "Java parameter name length"
2 parents5bd546e +11744de commited6d03d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎_style/naming-conventions.md

Lines changed: 1 addition & 2 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp