string is rarely useful as a function argument

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Dec 28 13:57:01 PST 2011


On 12/28/11 1:48 PM, foobar wrote:
> On Wednesday, 28 December 2011 at 19:30:04 UTC, Andrei Alexandrescu wrote:
>> On 12/28/11 1:18 PM, foobar wrote:
>>> That's a good idea which I wonder about its implementation strategy.
>>
>> Implementation would entail a change in the compiler.
>>
>> Andrei
>
> Why? D should be plenty powerful to implement this without modifying the
> compiler. Sounds like you suggest that char[] will behave differently
> than other T[] which is a very poor idea IMO.

It's an awesome idea, but for an academic debate at best.

Andrei


More information about the Digitalmars-d mailing list