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 d7538b6 commit 5afa31cCopy full SHA for 5afa31c
writing-docs/STYLEGUIDE.md
@@ -122,7 +122,10 @@ they often represent. Please use that syntax whenever possible.
122
123
Using the second form is more idiomatic and avoids confusion with
124
blocks. In fact, you don't need to use `:=` in the second sentence,
125
-precisely for this reason.
+precisely for this reason. This does not apply to empty hashes, which
126
+should be declared using `{}`:
127
+
128
+ my %hash = {};
129
130
### Try to express intent, rather than simply reflex syntax
131
0 commit comments