NaNs Just Don't Get No Respect
Walter Bright
newshound2 at digitalmars.com
Sat Aug 18 22:54:49 PDT 2012
On 8/18/2012 9:21 PM, Nick Sabalausky wrote:
> After actually *using* both D (default-initialization) and C#
> (statically/conservatively ensure things can't be accessed without
> being explicitly inited), and I'm convinced the benefits of the static
> checks easily outweigh the fear of a knee-jerk "=0".
I'm less willing to throw default initialization out - I like it & rely on it.
The C# approach pretty much ends default initialization, including for user
defined types.
More information about the Digitalmars-d-announce
mailing list