between and among: worth Phobosization?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Dec 17 10:08:54 PST 2013


On 12/17/13 6:38 AM, Marco Leise wrote:
> Compare:
>
> a) import std.something; x.between!(">", "<")(y, z);
> b) y < x && x < z
>
> now which would you use? :-)

x.between!("><")(y, z);

would have the advantage of the South Park emoticon.

Andrei



More information about the Digitalmars-d mailing list