<div dir="ltr"><div>Yes, I know you don't need the parentheses for any directives because of the type stuff, but people still use them. My question was more why write some with parens and some without.<br><br></div>Robert<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 October 2015 at 11:54, Björn Gustavsson <span dir="ltr"><<a href="mailto:bjorn@erlang.org" target="_blank">bjorn@erlang.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, Oct 17, 2015 at 5:32 PM, Robert Virding <<a href="mailto:rvirding@gmail.com">rvirding@gmail.com</a>> wrote:<br>
> A minor question: why is it -if and -elif and not -if() and -elif() so it is<br>
> consistent with -ifdef()?<br>
><br>
<br>
</span>It seems to me that it is easier to read without<br>
the extra parenthesis, and that it makes the<br>
more "active" -if/-elif directives visually different<br>
from the "passive" attributes.<br>
<br>
Note that it is still legal to add extra parenthesis<br>
around the expression if you really want to.<br>
<div class="HOEnZb"><div class="h5"><br>
/Björn<br>
<br>
--<br>
Björn Gustavsson, Erlang/OTP, Ericsson AB<br>
</div></div></blockquote></div><br></div>