Re: How to pronounce PHP code over the phone?

From: Date: Tue, 15 Dec 2009 15:17:46 +0000
Subject: Re: How to pronounce PHP code over the phone?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-300527@lists.php.net to get a copy of this message
2009/10/16 Dotan Cohen <dotancohen@gmail.com>: > How would you read this out loud if you were to read it to someone > over  the phone? > > ($item->getServiceId() ? $item->getServiceId() : $item->getId()))); > > Thanks! > > -- > Dotan Cohen > > http://what-is-what.com > http://gibberish.co.il > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I would optimize this though. ($item->getServiceId() || $item->getId()) Unless you REALLY need to call $item->getServiceId() twice. So, this should be a little easier to say. -- ----- Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 ZOPA : http://uk.zopa.com/member/RQuadling

« previous php.general (#300527) next »