Robert Cummings wrote:
Bob McConnell wrote:
From: tedd

At 4:51 PM +0100 10/16/09, Ashley Sheridan wrote:
On Fri, 2009-10-16 at 17:46 +0200, 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())));


Wow! Here goes:

Open-bracket,
No, that's not an open bracket -- that's an open parenthesis or "paren" for short.

An open bracket is [

An open curly brace is {


That depends on which edition of English you use. Take a look at the
definition of bracket in Wikipedia. What you call a parenthesis is
called a bracket in England and parts of Canada, as well as elsewhere.
They specify square bracket for the second one. I stumbled on this one
in another mailing list a few years ago.

Bracket... two syllables and ambiguous.

Round Brace... two syllables and not ambiguous.

For terse clarity use the following:

    - round brace
    - square brace
    - curly brace
    - angle brace

:)

Cheers,
Rob.
Have you thought about using instant messaging? How about sending the code to him via text message? Putting it on a pastie or on code pad? IRC, sFTP, SSH, you see, in the 21st century, there exists a plethora of solutions to circumvent this particular "issue".

I would be interested in finding out how the OP ended up having absolutely no option but to pass code to another Homo Sapien verbally? Unless you managed to cripple your system and disconnect your company from the internet, surely, it would have been faster (and easier) using the methods above rather than trying to spell it out over the phone.

In any case, I would say:

"Call the getServiceId method of the $item object and make that the condition of a ternary opertor, if true, call the method again, otherwise call the getId method of the $item object"

I'm guessing the reason you were on the phone to him/her was because your parentheses don't match ... but that's a different story I guess.

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

Reply via email to