Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #10553

Re: AND and OR

From Twayne <nobody@spamcop.net>
Newsgroups comp.lang.php
Subject Re: AND and OR
Date 2013-08-17 13:22 -0400
Organization Aioe.org NNTP Server
Message-ID <kuobgi$hs6$1@speranza.aioe.org> (permalink)
References (1 earlier) <kukun7$l54$4@news.albasani.net> <kul02j$qos$1@dont-email.me> <kul25k$tl9$1@news.albasani.net> <kuliu3$n2b$1@speranza.aioe.org> <kulkcc$39s$1@news.albasani.net>

Show all headers | View raw


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`

>
>

...


Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

AND and OR Twayne <nobody@spamcop.net> - 2013-08-15 20:21 -0400
  Re: AND and OR Paul Herber <paul@pherber.com> - 2013-08-16 01:30 +0100
    Re: AND and OR Christoph Michael Becker <cmbecker69@arcor.de> - 2013-08-16 13:08 +0200
    Re: AND and OR Twayne <nobody@spamcop.net> - 2013-08-16 12:14 -0400
  Re: AND and OR "Peter H. Coffin" <hellsop@ninehells.com> - 2013-08-15 20:08 -0500
  Re: AND and OR Tim Streater <timstreater@greenbee.net> - 2013-08-16 08:52 +0100
    Re: AND and OR Twayne <nobody@spamcop.net> - 2013-08-16 11:19 -0400
  Re: AND and OR The Natural Philosopher <tnp@invalid.invalid> - 2013-08-16 11:25 +0100
    Re: AND and OR Norman Peelman <npeelman@cfl.rr.com> - 2013-08-16 06:48 -0400
      Re: AND and OR The Natural Philosopher <tnp@invalid.invalid> - 2013-08-16 12:24 +0100
        Re: AND and OR Twayne <nobody@spamcop.net> - 2013-08-16 12:10 -0400
          Re: AND and OR The Natural Philosopher <tnp@invalid.invalid> - 2013-08-16 17:35 +0100
            Re: AND and OR Tim Streater <timstreater@greenbee.net> - 2013-08-16 17:47 +0100
              Re: AND and OR The Natural Philosopher <tnp@invalid.invalid> - 2013-08-16 18:13 +0100
                Re: AND and OR Richard Yates <richard@yatesguitar.com> - 2013-08-17 07:20 -0700
                Re: AND and OR The Natural Philosopher <tnp@invalid.invalid> - 2013-08-17 15:36 +0100
                Re: AND and OR Richard Yates <richard@yatesguitar.com> - 2013-08-17 10:47 -0700
                Re: AND and OR Twayne <nobody@spamcop.net> - 2013-08-17 14:05 -0400
                Re: AND and OR The Natural Philosopher <tnp@invalid.invalid> - 2013-08-17 19:40 +0100
              Re: AND and OR Twayne <nobody@spamcop.net> - 2013-08-17 13:27 -0400
            Re: AND and OR Twayne <nobody@spamcop.net> - 2013-08-17 13:22 -0400
          Re: AND and OR Richard Yates <richard@yatesguitar.com> - 2013-08-17 07:19 -0700
      Re: AND and OR Twayne <nobody@spamcop.net> - 2013-08-16 11:53 -0400
    Re: AND and OR Twayne <nobody@spamcop.net> - 2013-08-16 11:42 -0400

csiph-web