A little of coordination for Rosettacode

bearophile bearophileHUGS at lycos.com
Sun Mar 24 15:12:21 PDT 2013


> In the vampire code this doesn't happen because you return null 
> (that is represented by two zero words), but in general unlike 
> Python in D the safe and idiomatic way to test for array 
> emptiness is to use std.array.empty. Otherwise you risk having 
> problems.

I have just opened a thread in the main D newsgroup about this:

http://forum.dlang.org/thread/bwgnbflygowctlisistg@forum.dlang.org

Bye,
bearophile



More information about the Digitalmars-d-learn mailing list