"Walter Bright" <newshou...@digitalmars.com> wrote in message news:ib783u$1od...@digitalmars.com... > > The real problem with the spurious errors is that then people will put in > an initialization "just to shut the compiler up." Time passes, and the > next guy is looking at the code and wonders why x is being initialized to > a value that is apparently never used, or worse, is initialized to some > bogus value randomly picked by the long-retired programmer. I've seen code > reviewers losing a lot of time on this issue. > > In general, I am opposed to inserting dead code and unused values to get > the compiler to accept the program.
Yes, you'd rather silently insert a value even when it's the wrong value.