You are a stupid programmer, you can't have that

Alexandru Ermicioi alexandru.ermicioi at gmail.com
Tue Aug 10 19:23:52 UTC 2021


On Tuesday, 10 August 2021 at 19:18:47 UTC, H. S. Teoh wrote:
> Of course, in practice this will add a whole ton of extra work 
> for the compiler devs, especially once the number of supported 
> language versions increases.  And it's not clear what to do if 
> an older language construct has to interact with a newer, 
> incompatible language feature.  So I'm not sure how practical 
> this will be.  But if we could somehow pull it off, then we 
> could *both* evolve the language and retain backward 
> compatibility at the same time.
>
>
> T

Better in this case to have semi or full code migrator, that will 
automatically upgrade source code to latest version of d 
compiler. Then you won't require any extensive support of older 
versions of language, in the compiler itself.


More information about the Digitalmars-d mailing list