So what does (inout int = 0) do?

Temtaime via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 17 17:53:26 PDT 2016


On Sunday, 17 April 2016 at 23:03:26 UTC, Adam D. Ruppe wrote:
> On Sunday, 17 April 2016 at 21:20:49 UTC, Timon Gehr wrote:
>> On 17.04.2016 18:44, Nick Treleaven wrote:
>>> I think @property is OK.
>>
>> No, it isn't:
>
>
> Seriously, @property is one of the biggest SNAFUs of the 
> language.
>
> I think I'll write an editorial about this stuff in TWID 
> tonight. (I'm also very skeptical of the value of pure, @safe, 
> nothrow, and @nogc)

nothrow may be useful for passing callbacks in C functions.
shared currently is useless too tbw


More information about the Digitalmars-d mailing list