string is rarely useful as a function argument

Ali Çehreli acehreli at yahoo.com
Wed Dec 28 09:37:48 PST 2011


On 12/28/2011 08:00 AM, Ali Çehreli wrote:
 > Agreed. I've talked about this in D.learn a number of times myself.

After seeing others' comments that focus more on the alias, I need to 
clarify: I don't have an opinion on the alias itself.

I agree with the subject line that function parameter lists should 
mostly have const(char)[] instead of string.

Ali



More information about the Digitalmars-d mailing list