Re: Please confirm this is a MSFT bug
- From: Jon Skeet [C# MVP] <skeet@xxxxxxxxx>
- Date: Fri, 30 Jun 2006 21:56:52 +0100
Jake Forson <no_spam@xxxxxxxxxxx> wrote:
Thanks for the info. While the KISS principle may apply here (on that we
agree), I'm at odds with your other points. It's certainly easier to parse
code without worrying about trapping this type of scenario and even
beneficial if it imrpoves compiler performance and robustness, but it's
still legal IMO (or should be). I doubt the C# standard says otherwise (I'd
be surprised to find out).
The C# standards are very clear on definite assignment, and they don't
contain any rules about the compiler performing any logic to determine
that one of two paths through code must be taken.
--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.
- References:
- Please confirm this is a MSFT bug
- From: Jake Forson
- Re: Please confirm this is a MSFT bug
- From: Dan Manges
- Re: Please confirm this is a MSFT bug
- From: Jake Forson
- Re: Please confirm this is a MSFT bug
- From: Marc Gravell
- Re: Please confirm this is a MSFT bug
- From: Jake Forson
- Please confirm this is a MSFT bug
- Prev by Date: Re: Windows Service - Event Log
- Next by Date: Re: Creating a Process from a windows service
- Previous by thread: Re: Please confirm this is a MSFT bug
- Next by thread: Re: Please confirm this is a MSFT bug
- Index(es):
Relevant Pages
|