Dotan Cohen wrote:
How would you read this out loud if you were to read it to someone
over  the phone?

($item->getServiceId() ? $item->getServiceId() : $item->getId())));

It depends... is the person familiar with PHP or not? If they are not then the process is more cumbersome since I can't say things like variable item calling camel-case method getServiceId without parameters.

Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to