A D vs. Rust example
Ali Çehreli
acehreli at yahoo.com
Thu Oct 20 16:03:36 UTC 2022
On 10/20/22 08:33, rikki cattermole wrote:
> On 21/10/2022 4:25 AM, Don Allen wrote:
>> Where I do think D would do well by emulating Rust is in the area of
>> helpful compiler warnings: noting unused variables, constants and
>> imported symbols, pointing out unnecessary parentheses, etc.
>
> IDE's such as IntelliJ IDEA (D's plugin) call Dscanner all the time to
> verify code and get warnings.
>
> So in practice this shouldn't be an issue.
And there is 'dub lint' that uses dscanner under the hood.
Ali
More information about the Digitalmars-d
mailing list