What are (were) the most difficult parts of D?

Adam D Ruppe destructionator at gmail.com
Thu May 12 01:18:30 UTC 2022


On Thursday, 12 May 2022 at 01:06:02 UTC, Christopher Katko wrote:
> completely different semantics for a class vs a struct. Is it a 
> reference? Is it a value? Look up the entire declaration and 
> have the entire Dlang manual open to find out.
>
> As far as I remember, no automatic RAII support, even though 
> it's insanely useful.

class = virtual functions

struct = RAII




More information about the Digitalmars-d-learn mailing list