Empty VS null array?

Dicebot public at dicebot.lv
Mon Oct 21 04:58:25 PDT 2013


On Monday, 21 October 2013 at 09:40:13 UTC, Regan Heath wrote:
> I disagree.  Exceptions should never be used for flow control 
> so the rule is to throw on exceptional occurrences ONLY not on 
> something that you will ALWAYS eventually happen.

For such function it is exceptional situation. For precise 
reading different API is required anyway (==different function).


More information about the Digitalmars-d mailing list