G
gwowen
The new age programmers intro introduced ...
who where the what now?
The new age programmers intro introduced ...
To me, the meaning of both is immediately obvious.
[email protected] said:The "if ((y=f())!=0)" form at
least makes it obvious what was intended.
mzdude said:if( 0 == x )
Not to me! Therefore, I have to ask:
- What is it that was intended?
- And how does it make this obvious?
Stefan said:if( o )...
for a class instance o can mean anything, which has to be
looked up in the documentation of the class.
By making both the assignment and the comparison explicit, it's clear
(FSVO "clear") that both were intended.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.