3 ms·
But Elixir 'does' have early returns, they are known as `Guards` as a language construct.
by OvermindDL1 9y ago
But Elixir 'does' have early returns, they are known as `Guards` as a language construct.
- skrebbel 9y agoYeah but that's only half the argument, right? Early returns make control flow a lot easier to read in general, not only when checking preconditions.