Closed saantonandre closed 1 year ago
Hi! Using the same convention (trailing question mark) for variables as for function names is perfectly ordinary in Elixir. Here's a few examples from the Elixir language repository:
I'd rather add a mention about this in the introductions than rename the variables - people need to be ready for this pattern 🙂 I should have time to work on https://github.com/exercism/elixir/issues/1283 soon
The "Log Level" functions have a parameter called
legacy?
used to indicate a boolean value, this may be incorrect because the convention applies to functions that return a boolean, other than that it just creates more confusion since naming convention haven't yet been covered (related issue https://github.com/exercism/elixir/issues/1283)