Naming Voldemort Types
Tofu Ninja via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jun 25 15:02:41 PDT 2015
On Thursday, 25 June 2015 at 13:12:18 UTC, Nordlöw wrote:
> I've noticed that the namings of lazy range voldemort types are
> inconsistent in Phobos. Some are named `XResult` others just
> `Result`, given that `x` is the parenting algorithm. What's the
> policy here?
>
> I would prefer the verbose `XResult` as it's more self
> documenting when debugging or using for instance pragma(msg,
> typeof(r)) where `r` is an instance of a lazy range.
>
> What do you guys think?
I always name my Voldemort Types tomRiddle...
More information about the Digitalmars-d
mailing list