|
|
|
|
|
by iudqnolq
1121 days ago
|
|
> How would you write that, if the field access was spelled `self.foo`? The language wouldn't be able to tell that you're not just recursively calling the getter! You can require parentheses for method calls put methods and fields in separate namespaces. https://play.rust-lang.org/?version=stable&mode=debug&editio... Elixir supports paren-free calls but the default linter and formatter won't let you use them except for a few whitelisted DSLs. I've never missed not having them. |
|