[eeps] New - EEP 44: Additional preprocessor directives
Björn Gustavsson
bjorn@REDACTED
Mon Oct 19 11:54:55 CEST 2015
On Sat, Oct 17, 2015 at 5:32 PM, Robert Virding <rvirding@REDACTED> wrote:
> A minor question: why is it -if and -elif and not -if() and -elif() so it is
> consistent with -ifdef()?
>
It seems to me that it is easier to read without
the extra parenthesis, and that it makes the
more "active" -if/-elif directives visually different
from the "passive" attributes.
Note that it is still legal to add extra parenthesis
around the expression if you really want to.
/Björn
--
Björn Gustavsson, Erlang/OTP, Ericsson AB
More information about the eeps
mailing list