Join Slack
Powered by
<https://github.com/JetBrains/kotlin-web-site/blob...
# codingconventions
m
marcinmoskala
11/21/2017, 2:00 PM
https://github.com/JetBrains/kotlin-web-site/blob/yole/styleguide/pages/docs/reference/coding-conventions.md#choosing-good-names
Good addition is that form of the method can suggest if method is mutating the object or returning new. For instance
sort
is sorting collection while
sorted
is returning sorted copy of the collection.
y
yole
11/27/2017, 3:22 PM
added, thanks!
3
Views
Open in Slack
Previous
Next