in reply to Re: Burned by precedence rules
in thread Burned by precedence rules
I suggest one also meditate on this: &&= and ||= exist; and= and or= do not.
S'funny, but that is exactly what makes them (and & or) so useful in boolean conditions.
But you will not see that usefulness until you cease making an wholly artificial distinction beween "flow control" and whatever you consider to be "non-flow control".
This: my $x = isSomething() and isSomethingElse() ? $p : $q;
is just as much "flow control" as doSomthing() or doSomethingElse();
as is: if( isSomething() and isSomethingElse() ) { ... } else { ... };
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Burned by precedence rules
by ikegami (Patriarch) on Dec 30, 2008 at 06:12 UTC | |
by BrowserUk (Patriarch) on Dec 30, 2008 at 12:05 UTC | |
by ikegami (Patriarch) on Dec 30, 2008 at 19:08 UTC | |
by BrowserUk (Patriarch) on Dec 30, 2008 at 22:03 UTC | |
by ikegami (Patriarch) on Dec 30, 2008 at 23:21 UTC | |
|
In Section
Meditations