Evolving the D Language

zjh fqbqrr at 163.com
Fri Jul 7 08:59:19 UTC 2023


On Friday, 7 July 2023 at 08:53:17 UTC, zjh wrote:
>
> As long as the compiler code is not deleted, it can be ensured 
> that the `compilation` compiles the `previous code`. It is 
> recommended to create a `deprecation` directory to specifically 
> collect the `deprecation` function.


Each user only needs a `features switch` file with their own used 
`features`, and when the `compiler`compiles, these `features 
switches`are used to compile code. If there is `deprecated` 
features, the `deprecation` directory function is called. This 
way, like `C++`, as long as I do not remove the ` deprecation` 
feature code, I can ensure that the previous code can be 
`compiled`!



More information about the Digitalmars-d-announce mailing list