• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Inside or outside an if statement - what's the difference?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inside or outside an if statement - what's the difference?


  • Subject: Re: Inside or outside an if statement - what's the difference?
  • From: Scott Ribe <email@hidden>
  • Date: Fri, 30 Sep 2005 20:21:06 -0600
  • Thread-topic: Inside or outside an if statement - what's the difference?

> I cannot imaging what. In all my years of experience with compilers, I've
> never had any exhibit behavior that would make me question the integrity of an
> if/else block.

Visual C++ 4.2. I actually had a case where it "optimized" out the test and
executed the code unconditionally. Verified 100% via good old-fashioned
printf debugging.


--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 665-7007 voice


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Inside or outside an if statement - what's the difference? (From: James Bucanek <email@hidden>)

  • Prev by Date: Re: call selector @"mySelector"
  • Next by Date: Core Data question on calculating percentages
  • Previous by thread: Re: Inside or outside an if statement - what's the difference?
  • Next by thread: Looking for help to created a widget
  • Index(es):
    • Date
    • Thread