Blog post: What D got wrong
atila.neves at gmail.com
Tue Dec 11 13:00:51 UTC 2018
On Tuesday, 11 December 2018 at 12:51:56 UTC, Nicholas Wilson
> On Tuesday, 11 December 2018 at 10:45:39 UTC, Atila Neves wrote:
>> A few things that have annoyed me about writing D lately:
> I like the eponymous templates idea, though it might get
> confusing with doubly nested eponymous templates
I'd say it would refer to the innermost template.
> and with mixin templates injecting constructors (
> https://run.dlang.io/is/UYakit )
I'd say it wouldn't work in mixin templates - is there such a
thing as an eponymous mixin template now?
> We really do need to figure out what to do with @property
>> Returning a reference
> Wow, thats f*ck'n stupid! https://run.dlang.io/is/SAplYw
You're telling me - how do you think I found out? ;)
>> Variables can’t be ref
> not _quite true, foreach variables can be.
That's true and a weird edge case.
More information about the Digitalmars-d-announce