3 ms·
Optional parentheses are pretty much a requirement considering how much of Elixir is actually 'just' macros. I'm very happy that the formatter adds them for me
by mercer 8y ago
Optional parentheses are pretty much a requirement considering how much of Elixir is actually 'just' macros. I'm very happy that the formatter adds them for me as much as possible though, because I'm also not a fan of how far Ruby takes it.
- BenMorganIO 8y agoAgreed. I used to remove parenthesis as often as possible. Looking back at the code, that may not have been the brightest idea. I really do like the coding convention though that lack of parenthesis can indicate a function meant to be a part of a DSL.