regarding what seems (to me) unnecessary casts on integer expressions
someone
someone at somewhere.com
Mon Jun 7 19:53:25 UTC 2021
On Monday, 7 June 2021 at 12:53:29 UTC, russhy wrote:
> Everything is public by default, and you can't overload and
> derive from structs so final has no effect. There less visual
> noise.
Gotcha !
I started using final (and the like) on classes a couple of days
ago and I suppose I unconsciously dragged them to the structures,
which, as you say, they can't be derived so it is non-sense.
Also: trying to suit my coding style to D code -a work in
progress.
More information about the Digitalmars-d-learn
mailing list