curiouswebster
asked on
Objective-C comparison to C++
In what sequence does Objective-C execute 2 expressions which make up a single IF statement?
In C++, either expression could be the first to execute. So, the following is a bad idea in C++:
if ( questionsWithSubmitHistory != nil && questionsWithSubmitHistory .count > 0)
How about Objective-C?
In C++, either expression could be the first to execute. So, the following is a bad idea in C++:
if ( questionsWithSubmitHistory
How about Objective-C?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.