FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » AND and OR
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: AND and OR [message #182600 is a reply to message #182577] Sat, 17 August 2013 17:22 Go to previous messageGo to previous message
bill is currently offline  bill
Messages: 310
Registered: October 2010
Karma:
Senior Member
On 2013-08-16 12:35 PM, The Natural Philosopher wrote:
....

>
> well counting left and right brackets is fundamental programming, and
> someone who makes such a basic mistake *and doesn't see it* is pretty
> new to the game. Whether the brackets matched or not in the presented
code wasn't checked closely, and likely should have been; it's but one
of several tries
I made where the bracket matches checked fine in my Editor. However, the
bracket problem was a bit more than just a missing bracket; I misplaced
them and badly.

No arguement there.
>
> As I said, the ! operator is less intuitive than '==0' to me anyway,
> though after years of C its second nature.

Well, I unfortunetaly don't have a C history, but I do often the find
the ! operator quite useful and often a way to have less code in that
often no ELSE is needed that way. Which BTW is now my current interest;
minimizing the amount of code used and still have it more or less
self-documenting.

Cheers,

Twayne`

>
>

....
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Function Problem
Next Topic: switch with case 0
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 03:55:56 GMT 2024

Total time taken to generate the page: 0.03996 seconds