DLF September 2023 Planning Update

Steven Schveighoffer schveiguy at gmail.com
Tue Nov 14 19:13:38 UTC 2023


On Tuesday, 14 November 2023 at 18:40:58 UTC, Adam D Ruppe wrote:
> On Tuesday, 14 November 2023 at 17:57:36 UTC, Steven 
> Schveighoffer wrote:
>> That's not any better. If you have to opt-in to the language 
>> as it exists, people are going to quit immediately.
>
> Counterpoint: javascript's "use strict".

The absence of "use strict" does not prevent you from using 
latest features. If you use the later features, it infers you 
meant "use strict". As I understand the current thinking, that is 
not what D is intending to do.

This could potentially work for D editions -- if you use a newer 
syntax/feature, then you have opted into that version of the 
language? But I am not sure this is worth the complication. Much 
easier to do the dumb thing and require specification.

Does "use strict" involve library API changes?

-Steve


More information about the Digitalmars-d-announce mailing list