D Language Foundation November 2025 Monthly Meeting Summary
Mike Parker
aldacron at gmail.com
Tue Apr 28 00:42:38 UTC 2026
On Monday, 27 April 2026 at 17:35:47 UTC, jmh530 wrote:
> On Monday, 27 April 2026 at 14:55:06 UTC, Mike Parker wrote:
>> Walter said making `this` explicit could also eliminate the
>> need for the `static` keyword on member functions. If a member
>> function didn't take an explicit `this`, then it would
>> effectively be static. Steve pointed out that this would
>> affect existing code that assumed an implicit `this` parameter
>> without the `static` keyword. Átila said that would have to be
>> handled in an edition. Walter said they should implement it
>> fairly soon as an option, giving people a long adaptation
>> period before even thinking about making it required.
>>[snip]
>
> Would it be possible to make `this` optionally explicit? That
> way you don't break code?
The last I heard, the idea now is that explicit this will only be
required when applying attributes to `this`, which would be a
more limited scope of breakage.
More information about the Digitalmars-d-announce
mailing list