RE: [PHP] How to pronounce PHP code over the phone?

From: Date: Tue, 20 Oct 2009 22:11:35 +0000
Subject: RE: [PHP] How to pronounce PHP code over the phone?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-299148@lists.php.net to get a copy of this message
> -----Original Message----- > From: Dotan Cohen [mailto:dotancohen@gmail.com] > Sent: Friday, October 16, 2009 8:46 AM > To: php-general. > Subject: [PHP] How to pronounce PHP code over the phone? > > How would you read this out loud if you were to read it to someone > over the phone? > > ($item->getServiceId() ? $item->getServiceId() : $item->getId()))); Open paren. Dollar-sign "item" de-ref getServiceID method. Question mark. Dollar-sign "item" de-ref getServiceID method again. Colon. Dollar-sign "item" de-ref getID method. Close up matching parenthesis. http://en.wikipedia.org/wiki/Reference_%28computer_science%29 I would also suggest s/he and I use a tool such as: http://snipt.org/oGg http://pastebin.com/m5b1d82b2 http://pastie.org/662703 http://gist.github.com/214652 For more real-time collaboration and sharing of code fragments. Daevid. http://daevid.com

« previous php.general (#299148) next »