Re: [PHP4BETA] A strict equality operator

From: Date: Mon, 26 Jul 1999 00:32:55 +0000
Subject: Re: [PHP4BETA] A strict equality operator
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-2740@lists.php.net to get a copy of this message
Sorry, I am in the middle of coding and just wanted to answer quick. Basically anything but === or eq is cool with me. At 04:51 PM 7/25/99 -0700, Jeffrey Galbraith wrote: >x &= y; > >Is the same as >x = x & y; > >So, it's taken. > >Jeff >----- Original Message ----- >From: Jon Griffin <jong@e88.org> >To: Ariel <ars@ziplink.net>; Stig Bakken <ssb@fast.no> >Cc: Jeffrey Galbraith <xendra@xendra.com>; <php4beta@lists.php.net> >Sent: Sunday, July 25, 1999 4:13 PM >Subject: Re: [PHP4BETA] A strict equality operator > > >> I agree, I hate text operators (i.e. eq) and this is not THAT HARD to >> remember. >> My vote &=, just ingrain it in your head and in three minutes you >remember! >> >> At 06:07 PM 7/25/99 -0400, Ariel wrote: >> > >> >It's not any harder to remember then === or harder to understand, but a >> >lot better from a debugging point of view since you're much less likely >to >> >confuse it with == (=$ might be better). I'm not hooked on the symbol, I >> >just don't like === there are already a lot of people who think == and = >> >were a mistake for c, and that they should have done = and := instead, so >> >why make it worse (ok so == works well with && vs & and || vs |, but it >> >still causes a lot of mistakes for programmers). How about x= it stands >> >for exactly equal. >> > >> > -Ariel >> > >> > >> >-- >> >PHP 4 Beta >> > >> > >> > >> Thanks, >> Jon Griffin >> jong@e88.org >> >> Check out: >> <http://www.salsablanca.com> >> <http://www.jongriffin.com> >> >> >> > > >-- >PHP 4 Beta > > > Thanks, Jon Griffin jong@e88.org Check out: <http://www.salsablanca.com> <http://www.jongriffin.com>

« previous php.version4 (#2740) next »