In D, variables are initialized by default, that's a safety feature. Using the D linter called Dscanner i've detected several cases of useless variable initialization. All these cases are for integral types which are never ambiguous (i.e always set to 0 on declaration, see this).
In D, variables are initialized by default, that's a safety feature. Using the D linter called Dscanner i've detected several cases of useless variable initialization. All these cases are for integral types which are never ambiguous (i.e always set to 0 on declaration, see this).