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 3a5e4cd commit bc2e641Copy full SHA for bc2e641
1 file changed
priv/builtins/elixir.md
@@ -13,7 +13,7 @@
13
- Don't use `Enum` functions on large collections when `Stream` is more appropriate
14
- Avoid nested `case` statements - refactor to a single `case`, `with` or separate functions
15
- Don't use `String.to_atom/1` on user input (memory leak risk)
16
-- Lists and enumerables cannot be indexed with brackets. Use pattern matching, `Enum` functions or `hd/1` and `tl/1`.
+- Lists and enumerables cannot be indexed with brackets. Use pattern matching or `Enum` functions.
17
18
## Function Design
19
- Use guard clauses: `when is_binary(name) and byte_size(name) > 0`
0 commit comments