On Sat, 23 Aug 2014 10:53:03 +0000 bearophile via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:
> I use "is" and "!is" for class references and == != for pointers. > But now I think you are right, and in D it's better to always use > is and !is for both, to avoid present and future bugs (like when > a pointer gets replaced by a class reference by successive > changes in the code). and "foo is null" is nice to read. ;-)
signature.asc
Description: PGP signature