D as a prototyping language (for C/C++ projects)
Ary Borenszweig
ary at esperanto.org.ar
Wed Feb 27 12:50:03 PST 2013
On 2/27/13 2:35 PM, H. S. Teoh wrote:
>> This is not about adding "isPresent" to an already existing "isBlank"
>> this is about adding "isBlank" or "isPresent" which don't exist.
>
> My point was that you only need one of them, not both. I don't see
> what's the advantage of adding both isBlank and isPresent, when adding
> just one will already give you the functionality of the other. I didn't
> mean to say that it's a bad idea to add *either* one.
Then why not remove the binary "-" from D. You can always do:
a + -b
I believe this makes the language simpler.
More information about the Digitalmars-d
mailing list