On Tue, Feb 2, 2016 at 7:45 AM, Henry Vermaak <henry.verm...@gmail.com>
wrote:

> Exceptions to standard behaviour is bad, just because there are
> exceptions doesn't mean that we need to create more of them.
> Documenting something doesn't make the behaviour intuitive.
>
> Too many exceptions create a rule? :)

I'd suspect that both if-else-experssion and iif() will end up being in the
FPC.
Since it appears that preference is split exactly 50/50 over an expression
and a function.

Similar to other duplication:
...in sets
  Include(ch, 'a')
  ch:=ch+['a'];

...in arithmetical operations
   a:=a+4;
   inc(a,4);
   a+=4;   // C-style btw!

thanks,
Dmitry
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to