Please change alias ReplaceArrayWithPointer = Flag!"replaceArrayWithPointer"

Jack Stouffer via Digitalmars-d digitalmars-d at puremagic.com
Thu Jan 21 12:42:17 PST 2016


On Thursday, 21 January 2016 at 19:31:19 UTC, Andrei Alexandrescu 
wrote:
> * Do NOT alias Flag!"frob" to a new name. This is unnecessary, 
> unhelpful, and wasteful.

I disagree. Making an alias means the user does not have to 
import std.typecons in their code, and as a purely subjective 
measure, ReplaceArrayWithPointer.Yes looks better than 
Flag!"replaceArrayWithPointer".Yes.


More information about the Digitalmars-d mailing list