We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 476a35e commit 32fcd62Copy full SHA for 32fcd62
docs/topics/tour/kotlin-tour-hello-world.md
@@ -71,8 +71,8 @@ fun main() {
71
72
As `customers` is a mutable variable, its value can be reassigned after declaration.
73
74
-> We recommend that you declare all variables as read-only (`val`) by default. Declare mutable variables (`var`) only if
75
-> necessary.
+> We recommend declaring all variables as read-only (`val`) by default. Only use mutable variables (`var`) if you really
+> need to. That way, you're less likely to accidentally change something that wasn't meant to change.
76
>
77
{style="note"}
78
0 commit comments