ref parameters: there is no escape

Mehrdad wfunction at hotmail.com
Mon Aug 15 07:04:42 PDT 2011


On 8/15/2011 4:10 AM, Timon Gehr wrote:
> On 08/15/2011 08:16 AM, Mehrdad wrote:
>> (1) I thought the whole point of D was that you didn't need pointers to
>> program effectively?
>
> Why would the change contradict this?
Because now you need pointers to pass things by reference?

>> (2) Isn't this what compiler **warnings** are for?
> In a well designed language, warnings are useless.
?!?!??!!

You've never used C#/C/Java/whatever? Or do you think they're all poorly 
designed?


More information about the Digitalmars-d mailing list