Please change alias ReplaceArrayWithPointer = Flag!"replaceArrayWithPointer"
Zekereth via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jan 22 08:40:41 PST 2016
On Friday, 22 January 2016 at 14:48:47 UTC, Marc Schütz wrote:
> On Thursday, 21 January 2016 at 20:42:17 UTC, Jack Stouffer
> wrote:
>> 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.
>
> Me too. @Andrei, what exactly is wrong with the alias?
I'd like to know this too considering the official documentation
used it until this discussion was started.
More information about the Digitalmars-d
mailing list