Re: vars

From: Date: Thu, 27 Jul 2000 22:34:18 +0000
Subject: Re: vars
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-8681@lists.php.net to get a copy of this message
No no no no no I never said that I am not sure if it affects performance or not ( I _think_ it doesnt, but i dont know) I just felt like ranting my message was _utterly_ useless, and im sorry for having bothered you. I hope someone who knows something will reply and help you soon. sorry :( Ed "Kurth Bemis" <kurth@usaexpress.net> wrote in message news:4.3.2.7.2.20000727183049.024c1940@mail.usaexpress.net... > At 03:22 PM 7/27/2000 -0700, Ed Vul wrote: > > thanks - i think i got it. so var name length doesn't affect server > performance. > > ~kurth > > >Uhm, you must be a good programmer, I name variables very arcanely just > >because I get bored with coherent names. > >I like to give myself a challenge, you know what im saying? > >$question, $answer, $user > >those are just so easy to navigate, next time try something like > >$evilVar, $blah, $muh > >This gets especially fun if you have LOTS of variables... > >and avoid arrays at all costs so you can get exciting numbering systems > >instead of arrays: > ><? > >$muh = 0; > >$bah = 0; > >$gee = 0; > >while($muh < 10) > >{ > >while($bah < 10) > >{ > >$blah = "evilVar" . $muh . $bah; > >$$blah = $gee; > >$gee++; > >$bah++; > >} > >$bah = 0; > >$muh++; > >} > >?> > >Fun, no? > > > >Ed :) > > > > > >"Kurth Bemis" <kurth@usaexpress.net> wrote in message > > >>news:4.3.2.7.2.20000727172333.024df880@mail.usaexpress.net... > > > from a programming standpoint is it better to use shorter var names or > > > longer? longer is easier to me because i can be more descriptive....i > >have > > > read that shorter is easier on the server tho....thoughts? > > > > > > ~kurth > > > Kurth Bemis - Senior Linux Network/Systems Administrator, USAExpress.net > > > > > > kurth@usaexpress.net > > > http://www.usaexpress.net/kurth > > > ICQ - 6624050 > > > Call Sign - N1TYW > > > PGP key available - > > > http://www.usaexpress.net/kurth/pgp > > > > > > Fight Weak Encryption! Donate your wasted CPU cycles to Distributed.net > > > (http://www.distributed.net) > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > > For additional commands, e-mail: php-general-help@lists.php.net > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > > > > > >-- > >PHP General Mailing List (http://www.php.net/) > >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > >For additional commands, e-mail: php-general-help@lists.php.net > >To contact the list administrators, e-mail: php-list-admin@lists.php.net > > Kurth Bemis - Senior Linux Network/Systems Administrator, USAExpress.net > > kurth@usaexpress.net > http://www.usaexpress.net/kurth > ICQ - 6624050 > Call Sign - N1TYW > PGP key available - http://www.usaexpress.net/kurth/pgp > > Fight Weak Encryption! Donate your wasted CPU cycles to Distributed.net > (http://www.distributed.net) > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#8681) next »