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


Groups > comp.lang.php > #10561

Re: AND and OR

From Twayne <nobody@spamcop.net>
Newsgroups comp.lang.php
Subject Re: AND and OR
Date 2013-08-17 14:05 -0400
Organization Aioe.org NNTP Server
Message-ID <kuoe0b$oi9$1@speranza.aioe.org> (permalink)
References (6 earlier) <timstreater-1DBC0D.17470316082013@news.individual.net> <kulmit$788$2@news.albasani.net> <4l1v09tmma2cbbm4qtdu1rn77rcrkhvqqq@4ax.com> <kuo1p7$k7d$1@news.albasani.net> <5jdv095cmv6l4tqd68jjs1hadq1o3tgjmc@4ax.com>

Show all headers | View raw


On 2013-08-17 1:47 PM, Richard Yates wrote:
> On Sat, 17 Aug 2013 15:36:22 +0100, The Natural Philosopher
> <tnp@invalid.invalid> wrote:
>
...
>
> I'm down to an error rate of 30% on = instead of == in if clauses.
>
>> ...purely to seed up typograhical debugging.
>
> I guess it doesn't work on Usenet.
>

Maybe I can offer a possible help for  some of that. If you editor 
allows you to, create clips or libraries so when you click them, they'll 
enter for you:
    ?PHP>

    ?>

or

HTML comment:
<!--   -->

PHP Comment Start:
if() === "" ) {

}

and it's especially useful for anything of more than a few characters, 
like $referrer, session functions, etc etc etc.

and so forth. By entering everything but the var & what goes between the 
"", you at least know all the surrounding code is current.

Also things like: <!DOCTYPE html> , <form action =, name=, et al 
including the end form & end HTML. It has a lot of uses once you create 
your own library or clip code.

There are of course complete libraries availble for PHP and HTML, C, and 
more, but in general I seldom use them unless I need to look up 
something I haven't done before. One does of course need to have the 
disclipine to update the clip/library as early as possible and to 
delete/replace the ones that are needed.
    It speeds up coding like nobody's business once it's set with your 
own often used or lengthy pieces of code.

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