Skip to content

Commit cb8eff8

Browse files
committed
Remove duplications in naming-conventions.
1 parent 8461866 commit cb8eff8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

_style/naming-conventions.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ advanced feature in Scala, to be used only by those most well-versed in
266266
its pitfalls. Without care, excessive use of symbolic method names can
267267
easily transform even the simplest code into symbolic soup.
268268

269-
## Constants, Values, Variable and Methods
269+
## Constants, Values and Variable
270270

271271
Constant names should be in upper camel case. Similar to Java's `static final`
272272
members, if the member is final, immutable and it belongs to a package
@@ -278,10 +278,9 @@ object or an object, it may be considered a constant:
278278

279279
The value: `Pi` in `scala.math` package is another example of such a constant.
280280

281-
Method, Value and variable names should be in lower camel case:
281+
Value and variable names should be in lower camel case:
282282

283283
val myValue = ...
284-
def myMethod = ...
285284
var myVariable
286285

287286
## Type Parameters (generics)

0 commit comments

Comments
 (0)