handful and interval

David Piepgrass qwertie256 at gmail.com
Mon Sep 3 08:53:32 PDT 2012


> However I'd use different names: among=>isOneOf, 
> between=>isInRange.
I forgot to state the reason, namely, I think boolean functions 
should be named so that you can tell they return bool, as 
"between" could easily be a function that places a value into a 
range rather than tests whether it is in range.


More information about the Digitalmars-d mailing list