How to pronounce PHP code over the phone?
How to pronounce PHP code over the phone?
am 16.10.2009 17:46:07 von Dotan Cohen
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
Re: How to pronounce PHP code over the phone?
am 16.10.2009 17:51:29 von Ashley Sheridan
--=-OMiWATYTNQlfcjYcU1p3
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
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())));
>
> Thanks!
>
> --
> Dotan Cohen
>
> http://what-is-what.com
> http://gibberish.co.il
>
Wow! Here goes:
Open-bracket, dollar item hypen greater-than, get service id, no all one
word but with a capital S and I. Open and close brackets, question mark,
dollar item again, then a hyphen and greater-than, that get service id
and brackets bit again, exactly the same as last time; yes, capital S
and I again. Colon, no the colon is the one with two dots, not dot and
comma. Dollar item again, then hypen, greater-than, get id, with a
capital I. Nope, no service bit this time. Now, open bracket and two
closing brackets (I assumed the final two on your example were typos?!).
now a semi-colon, yes the one with the comma.
That's pretty much how I could foresee me telling someone this on the
phone, but to be honest, I'd really prefer an email ;)
Thanks,
Ash
http://www.ashleysheridan.co.uk
--=-OMiWATYTNQlfcjYcU1p3--
Re: How to pronounce PHP code over the phone?
am 16.10.2009 18:01:28 von Ashley Sheridan
--=-XuVXGjZg7CnJ+QttSINu
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
On Fri, 2009-10-16 at 18:01 +0200, Dotan Cohen wrote:
> > Wow! Here goes:
> >
> > Open-bracket, dollar item hypen greater-than, get service id, no all one word but with a capital S and I. Open and close brackets, question mark, dollar item again, then a hyphen and greater-than, that get service id and brackets bit again, exactly the same as last time; yes, capital S and I again. Colon, no the colon is the one with two dots, not dot and comma. Dollar item again, then hypen, greater-than, get id, with a capital I. Nope, no service bit this time. Now, open bracket and two closing brackets (I assumed the final two on your example were typos?!). now a semi-colon, yes the one with the comma.
> >
> > That's pretty much how I could foresee me telling someone this on the phone, but to be honest, I'd really prefer an email ;)
> >
>
> So it really involves mentioning each character. I was hoping that
> there would be a shared language for constructs such as -> and the
> like.
>
> Thanks.
>
> --
> Dotan Cohen
>
> http://what-is-what.com
> http://gibberish.co.il
Not that I know of, and trying to explain any sort of code over the
phone is just going to lead to a disaster down the line!
Thanks,
Ash
http://www.ashleysheridan.co.uk
--=-XuVXGjZg7CnJ+QttSINu--
Re: How to pronounce PHP code over the phone?
am 16.10.2009 18:01:31 von Dotan Cohen
> Wow! Here goes:
>
> Open-bracket, dollar item hypen greater-than, get service id, no all one =
word but with a capital S and I. Open and close brackets, question mark, do=
llar item again, then a hyphen and greater-than, that get service id and br=
ackets bit again, exactly the same as last time; yes, capital S and I again=
.. Colon, no the colon is the one with two dots, not dot and comma. Dollar i=
tem again, then hypen, greater-than, get id, with a capital I. Nope, no ser=
vice bit this time. Now, open bracket and two closing brackets (I assumed t=
he final two on your example were typos?!). now a semi-colon, yes the one w=
ith the comma.
>
> That's pretty much how I could foresee me telling someone this on the pho=
ne, but to be honest, I'd really prefer an email ;)
>
So it really involves mentioning each character. I was hoping that
there would be a shared language for constructs such as -> and the
like.
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
Re: How to pronounce PHP code over the phone?
am 16.10.2009 18:03:08 von Dotan Cohen
> open parenthesis
> $item getServiceId
> question symbol
> $item getServiceId
> colon
> $item getId
> close parenthesis
>
>
How would you mention the -> constructs? Certainly they are not assumed?
--
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
RE: How to pronounce PHP code over the phone?
am 16.10.2009 18:07:24 von Bob McConnell
From: Ashley Sheridan
> On Fri, 2009-10-16 at 18:01 +0200, Dotan Cohen wrote:
>> > Wow! Here goes:
>> >
>> > Open-bracket, dollar item hypen greater-than, get service id, no
all one word but with a capital S and I. Open and close brackets,
question mark, dollar item again, then a hyphen and greater-than, that
get service id and brackets bit again, exactly the same as last time;
yes, capital S and I again. Colon, no the colon is the one with two
dots, not dot and comma. Dollar item again, then hypen, greater-than,
get id, with a capital I. Nope, no service bit this time. Now, open
bracket and two closing brackets (I assumed the final two on your
example were typos?!). now a semi-colon, yes the one with the comma.
>> >
>> > That's pretty much how I could foresee me telling someone this on
the phone, but to be honest, I'd really prefer an email ;)
>> >
>>=20
>> So it really involves mentioning each character. I was hoping that
>> there would be a shared language for constructs such as -> and the
>> like.
> Not that I know of, and trying to explain any sort of code over the
> phone is just going to lead to a disaster down the line!
The only time I would even consider doing that would be when I am using
a TTD connection to communicate with a hearing impaired individual.
Bob McConnell
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to pronounce PHP code over the phone?
am 16.10.2009 18:09:23 von Bipin Upadhyay
On 10/16/2009 9:31 PM, Dotan Cohen wrote:
>> Wow! Here goes:
>>
>> Open-bracket, dollar item hypen greater-than, get service id, no all one word but with a capital S and I. Open and close brackets, question mark, dollar item again, then a hyphen and greater-than, that get service id and brackets bit again, exactly the same as last time; yes, capital S and I again. Colon, no the colon is the one with two dots, not dot and comma. Dollar item again, then hypen, greater-than, get id, with a capital I. Nope, no service bit this time. Now, open bracket and two closing brackets (I assumed the final two on your example were typos?!). now a semi-colon, yes the one with the comma.
>>
>> That's pretty much how I could foresee me telling someone this on the phone, but to be honest, I'd really prefer an email ;)
>>
>>
> So it really involves mentioning each character. I was hoping that
> there would be a shared language for constructs such as -> and the
> like.
>
>
There are, what you'd call, technical jargon for them.
However, it'd pretty obviously depend on the extent of knowledge of the
person on other side of phone line. If she understands PHP objects,
difference between OOP in PHP4 & PHP5, and ternary operator, things
would be fairly simple.
In any case, Ashley's nailed the foolproof technique for sure :)
> Thanks.
>
> --
> Dotan Cohen
>
> http://what-is-what.com
> http://gibberish.co.il
>
>
--Bipin Upadhyay.
http://projectbee.org/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to pronounce PHP code over the phone?
am 16.10.2009 18:09:26 von Martin Scotta
--000325559fd2be4b2a04760f9e1e
Content-Type: text/plain; charset=ISO-8859-1
First ask him/her for an email address, and then while you are over the
phone send the text by email.
This way the other can *instantaneously* read and both of you can talk about
the code.
On Fri, Oct 16, 2009 at 1:01 PM, Ashley Sheridan
wrote:
> On Fri, 2009-10-16 at 18:01 +0200, Dotan Cohen wrote:
>
> > > Wow! Here goes:
> > >
> > > Open-bracket, dollar item hypen greater-than, get service id, no all
> one word but with a capital S and I. Open and close brackets, question mark,
> dollar item again, then a hyphen and greater-than, that get service id and
> brackets bit again, exactly the same as last time; yes, capital S and I
> again. Colon, no the colon is the one with two dots, not dot and comma.
> Dollar item again, then hypen, greater-than, get id, with a capital I. Nope,
> no service bit this time. Now, open bracket and two closing brackets (I
> assumed the final two on your example were typos?!). now a semi-colon, yes
> the one with the comma.
> > >
> > > That's pretty much how I could foresee me telling someone this on the
> phone, but to be honest, I'd really prefer an email ;)
> > >
> >
> > So it really involves mentioning each character. I was hoping that
> > there would be a shared language for constructs such as -> and the
> > like.
> >
> > Thanks.
> >
> > --
> > Dotan Cohen
> >
> > http://what-is-what.com
> > http://gibberish.co.il
>
>
> Not that I know of, and trying to explain any sort of code over the
> phone is just going to lead to a disaster down the line!
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
>
>
--
Martin Scotta
--000325559fd2be4b2a04760f9e1e--
Re: How to pronounce PHP code over the phone?
am 16.10.2009 18:09:53 von List Manager
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())));
>
> Thanks!
>
FATAL ERROR: Non matching parenthesis.
Ok, but really, I would say something along these lines:
Open Conditional statement
Test Condition
Using object variable "item" call object member method "get service id"
if condition results are true issue following command
Using object variable "item" call object member method "get service id"
if condition results are false issue following command
Using object variable "item" call object member method "get id"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to pronounce PHP code over the phone?
am 16.10.2009 18:47:13 von 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())));
>>
>> Thanks!
>>
>> --
>> Dotan Cohen
>>
>> http://what-is-what.com
>> http://gibberish.co.il
>>
>
>
>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 {
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to pronounce PHP code over the phone?
am 16.10.2009 18:48:00 von Robert Cummings
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
Re: How to pronounce PHP code over the phone?
am 16.10.2009 18:49:53 von TedD
>So it really involves mentioning each character. I was hoping that
>there would be a shared language for constructs such as -> and the
>like.
I like pointy-thingie, but it's called an "operator".
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to pronounce PHP code over the phone?
am 16.10.2009 18:55:26 von Ashley Sheridan
--=-mtTATYTbKZyRISHze+cP
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
On Fri, 2009-10-16 at 12:47 -0400, tedd wrote:
> 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())));
> >>
> >> Thanks!
> >>
> >> --
> >> Dotan Cohen
> >>
> >> http://what-is-what.com
> >> http://gibberish.co.il
> >>
> >
> >
> >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 {
>
> Cheers,
>
> tedd
> --
> -------
> http://sperling.com http://ancientstones.com http://earthstones.com
>
You say potato, I say chips! (and this is the good ol' English chips,
the nice greasy sort you traditionally eat down the beach while you're
walking along pebbled British beaches as it's bucketing down with rain;
Seasoned with a handful of salt and swimming in vinegar!)
Thanks,
Ash
http://www.ashleysheridan.co.uk
--=-mtTATYTbKZyRISHze+cP--
RE: How to pronounce PHP code over the phone?
am 16.10.2009 18:59:59 von Bob McConnell
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,
>=20
> No, that's not an open bracket -- that's an open parenthesis or=20
> "paren" for short.
>=20
> An open bracket is [
>=20
> An open curly brace is {
>=20
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.
Bob McConnell
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to pronounce PHP code over the phone?
am 16.10.2009 19:05:44 von Robert Cummings
Ashley Sheridan wrote:
> On Fri, 2009-10-16 at 12:47 -0400, tedd wrote:
>
>> 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())));
>>>>
>>>> Thanks!
>>>>
>>>> --
>>>> Dotan Cohen
>>>>
>>>> http://what-is-what.com
>>>> http://gibberish.co.il
>>>>
>>>
>>> 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 {
>>
>> Cheers,
>>
>> tedd
>> --
>> -------
>> http://sperling.com http://ancientstones.com http://earthstones.com
>>
>
>
> You say potato, I say chips! (and this is the good ol' English chips,
> the nice greasy sort you traditionally eat down the beach while you're
> walking along pebbled British beaches as it's bucketing down with rain;
> Seasoned with a handful of salt and swimming in vinegar!)
Tasty malt vinegar... not that clear crappy type ubiquitous here in
North America.
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
Re: How to pronounce PHP code over the phone?
am 16.10.2009 19:08:30 von LinuxManMikeC
On Fri, Oct 16, 2009 at 10:07 AM, Bob McConnell wrote:
> From: Ashley Sheridan
>> On Fri, 2009-10-16 at 18:01 +0200, Dotan Cohen wrote:
>>> > Wow! Here goes:
>>> >
>>> > Open-bracket, dollar item hypen greater-than, get service id, no
> all one word but with a capital S and I. Open and close brackets,
> question mark, dollar item again, then a hyphen and greater-than, that
> get service id and brackets bit again, exactly the same as last time;
> yes, capital S and I again. Colon, no the colon is the one with two
> dots, not dot and comma. Dollar item again, then hypen, greater-than,
> get id, with a capital I. Nope, no service bit this time. Now, open
> bracket and two closing brackets (I assumed the final two on your
> example were typos?!). now a semi-colon, yes the one with the comma.
>>> >
>>> > That's pretty much how I could foresee me telling someone this on
> the phone, but to be honest, I'd really prefer an email ;)
>>> >
>>>
>>> So it really involves mentioning each character. I was hoping that
>>> there would be a shared language for constructs such as -> and the
>>> like.
>
>
>> Not that I know of, and trying to explain any sort of code over the
>> phone is just going to lead to a disaster down the line!
>
> The only time I would even consider doing that would be when I am using
> a TTD connection to communicate with a hearing impaired individual.
>
> Bob McConnell
>
Basically, use a modem.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to pronounce PHP code over the phone?
am 16.10.2009 19:10:19 von Robert Cummings
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.
--
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
Re: How to pronounce PHP code over the phone?
am 16.10.2009 19:24:01 von Joseph Masoud
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
Re: How to pronounce PHP code over the phone?
am 16.10.2009 20:28:08 von Dotan Cohen
> First ask him/her for an email address, and then while you are over the
> phone send the text by email.
> This way the other can *instantaneously* read and both of you can talk about
> the code.
>
That is how it is usually done. But we have found ourselves twice in
the position where one had to talk over the phone when a computer or
other internet-enabled device was not accessible. Therefore, we would
prefer to formulate a shared language now for use in such situations.
Surely when coding, people "say" what they are typing in their heads.
I do, but not in English.
--
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
Re: How to pronounce PHP code over the phone?
am 16.10.2009 20:29:09 von Dotan Cohen
> There are, what you'd call, technical jargon for them.
> However, it'd pretty obviously depend on the extent of knowledge of the
> person on other side of phone line. If she understands PHP objects,
> difference between OOP in PHP4 & PHP5, and ternary operator, things would be
> fairly simple.
>
Yes, the other end of the phone is an experienced PHP developer.
> In any case, Ashley's nailed the foolproof technique for sure :)
But I am the fool to prove it! No internet access!
--
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
Re: How to pronounce PHP code over the phone?
am 16.10.2009 20:30:19 von Dotan Cohen
> Ok, but really, I would say something along these lines:
>
>
> Open Conditional statement
>
> Test Condition
> Â Â Â Â Using object variable "item" call object membe=
r method "get service id"
>
> if condition results are true issue following command
> Â Â Â Â Using object variable "item" call object membe=
r method "get service id"
>
> if condition results are false issue following command
> Â Â Â Â Using object variable "item" call object membe=
r method "get id"
>
>
Thanks, that is probably best. Leave the code to the coder, but
transmit the intention.
--=20
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
Re: How to pronounce PHP code over the phone?
am 16.10.2009 20:31:21 von Dotan Cohen
> 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.
>
Yes, I should have mentioned that the other party is an experienced
PHP developer.
--
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
Re: How to pronounce PHP code over the phone?
am 16.10.2009 20:35:42 von Dotan Cohen
> Have you thought about using instant messaging? How about sending t=
he 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 t=
o
> circumvent this particular "issue".
>
> I would be interested in finding out how the OP ended up having absolutel=
y
> 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 method=
s
> above rather than trying to spell it out over the phone.
>
It's called "vacation away from the 'net but there is an emergency".
I'm certain that a fair portion of the list is familiar with that!
> 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"
>
Thanks!
> 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.
>
That actually sounds like a subplot of a good movie.
--=20
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
RE: How to pronounce PHP code over the phone?
am 16.10.2009 20:42:18 von Bob McConnell
From: Dotan Cohen
>>
>> 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?=A0 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.
>>
>=20
> It's called "vacation away from the 'net but there is an emergency".
> I'm certain that a fair portion of the list is familiar with that!
If they can reach you by phone you are not on vacation. You are still =
attached to their leash.
Bob McConnell
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to pronounce PHP code over the phone?
am 16.10.2009 20:57:27 von Dotan Cohen
> If they can reach you by phone you are not on vacation. You are still attached to their leash.
>
And they still throw me bones :) It's worth it!
--
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
Re: How to pronounce PHP code over the phone?
am 16.10.2009 20:59:57 von olavell
Dotan Cohen wrote:
> It's called "vacation away from the 'net but there is an emergency". I'm
> certain that a fair portion of the list is familiar with that!
I haven't the slightest idea what you are talking about. Vacation? Away
from the net? We must be from different planets...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to pronounce PHP code over the phone?
am 16.10.2009 21:02:54 von Dotan Cohen
> I haven't the slightest idea what you are talking about. Vacation? Away
> from the net? We must be from different planets...
>
Very likely, as us Saturnians inhabit the moons, not the planet. Only
rocky planet-dwellers talk like that!
--
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
Re: How to pronounce PHP code over the phone?
am 16.10.2009 21:27:32 von Robert Cummings
O. Lavell wrote:
> Dotan Cohen wrote:
>
>> It's called "vacation away from the 'net but there is an emergency". I'm
>> certain that a fair portion of the list is familiar with that!
>
> I haven't the slightest idea what you are talking about. Vacation? Away
> from the net? We must be from different planets...
How to do you vacation from something implanted into your brain?
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
Re: How to pronounce PHP code over the phone?
am 16.10.2009 21:52:26 von Dotan Cohen
>>> It's called "vacation away from the 'net but there is an emergency". I'm
>>> certain that a fair portion of the list is familiar with that!
>>
>> I haven't the slightest idea what you are talking about. Vacation? Away
>> from the net? We must be from different planets...
>
> How to do you vacation from something implanted into your brain?
>
http://www.imdb.com/title/tt0100802/
--
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
Re: How to pronounce PHP code over the phone?
am 16.10.2009 22:39:52 von Tommy Pham
----- Original Message ----
> From: Dotan Cohen
> To: Bipin Upadhyay
> Cc: ash@ashleysheridan.co.uk; php-general.
> Sent: Fri, October 16, 2009 11:29:09 AM
> Subject: Re: [PHP] How to pronounce PHP code over the phone?
>
> > There are, what you'd call, technical jargon for them.
> > However, it'd pretty obviously depend on the extent of knowledge of the
> > person on other side of phone line. If she understands PHP objects,
> > difference between OOP in PHP4 & PHP5, and ternary operator, things would be
> > fairly simple.
> >
>
> Yes, the other end of the phone is an experienced PHP developer.
>
IMO, if you have to explain this code over the phone or any medium:
($item->getServiceId() ? $item->getServiceId() : $item->getId())));
The other person you're talking to is definitely not "experienced". ;)
Regards,
Tommy
>
> > In any case, Ashley's nailed the foolproof technique for sure :)
>
> But I am the fool to prove it! No internet access!
>
> --
> 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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to pronounce PHP code over the phone?
am 16.10.2009 22:58:07 von Dotan Cohen
>> Yes, the other end of the phone is an experienced PHP developer.
>>
>
> IMO, if you have to explain this code over the phone or any medium:
>
> ($item->getServiceId() ? $item->getServiceId() : $item->getId())));
>
> The other person you're talking to is definitely not "experienced". =C2=
=A0;)
>
I do not need to explain it, I need to say it.
--=20
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
Re: How to pronounce PHP code over the phone?
am 17.10.2009 00:22:35 von Phpster
This is a lot of posts to say either read it off character by
character or just email the damn line.
On 10/16/09, Dotan Cohen wrote:
>>> Yes, the other end of the phone is an experienced PHP developer.
>>>
>>
>> IMO, if you have to explain this code over the phone or any medium:
>>
>> ($item->getServiceId() ? $item->getServiceId() : $item->getId())));
>>
>> The other person you're talking to is definitely not "experienced". =A0;=
)
>>
>
> I do not need to explain it, I need to say it.
>
>
> --
> 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
>
>
--=20
Sent from my mobile device
Bastien
Cat, the other other white meat
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: How to pronounce PHP code over the phone?
am 17.10.2009 02:10:57 von TedD
At 12:59 PM -0400 10/16/09, Bob McConnell wrote:
>From: tedd
>> At 4:51 PM +0100 10/16/09, Ashley Sheridan wrote:
>
> >>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.
>
>Bob McConnell
I just follow the books published on the subject.
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to pronounce PHP code over the phone?
am 17.10.2009 02:13:36 von TedD
At 8:31 PM +0200 10/16/09, Dotan Cohen wrote:
> > 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.
>>
>
>Yes, I should have mentioned that the other party is an experienced
>PHP developer.
Well then you're really in trouble because experienced PHP developers
can't agree on anything. :-)
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to pronounce PHP code over the phone?
am 17.10.2009 02:44:28 von Robert Cummings
Dotan Cohen wrote:
>>>> It's called "vacation away from the 'net but there is an emergency". I'm
>>>> certain that a fair portion of the list is familiar with that!
>>> I haven't the slightest idea what you are talking about. Vacation? Away
>>> from the net? We must be from different planets...
>> How to do you vacation from something implanted into your brain?
>>
>
> http://www.imdb.com/title/tt0100802/
My internet was out earlier... but when I saw IMDB in the link I just
new it was going to be Total Recall ;)
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
Re: How to pronounce PHP code over the phone?
am 17.10.2009 02:45:12 von Robert Cummings
tedd wrote:
> At 8:31 PM +0200 10/16/09, Dotan Cohen wrote:
>> > 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.
>>>
>> Yes, I should have mentioned that the other party is an experienced
>> PHP developer.
>
> Well then you're really in trouble because experienced PHP developers
> can't agree on anything. :-)
Yeah, I totally agree with tedd.
:|
;)
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
Re: How to pronounce PHP code over the phone?
am 17.10.2009 04:15:13 von Dotan Cohen
> This is a lot of posts to say either read it off character by
> character
If there is a jargon for operators such as -> I'd like to know them.
> or just email the damn line.
>
Not possible for whatever reason, otherwise I wouldn't be bothering the list!
--
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
Re: How to pronounce PHP code over the phone?
am 17.10.2009 14:29:10 von TedD
At 4:15 AM +0200 10/17/09, Dotan Cohen wrote:
> > This is a lot of posts to say either read it off character by
>> character
>
>If there is a jargon for operators such as -> I'd like to know them.
>
>Dotan Cohen
As I said previously, it's called an "operator".
Of course you can call it whatever you want, such as "arrow pointing
right", "pointy thing", or even "blind evil grin". :-)
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to pronounce PHP code over the phone?
am 17.10.2009 19:27:24 von LinuxManMikeC
On Fri, Oct 16, 2009 at 10:09 AM, Jim Lucas wrote:
> 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())));
>>
>> Thanks!
>>
>
> FATAL ERROR: Non matching parenthesis.
>
>
> Ok, but really, I would say something along these lines:
>
>
> Open Conditional statement
>
> Test Condition
> Â Â Â Â Using object variable "item" call object membe=
r method "get service id"
>
> if condition results are true issue following command
> Â Â Â Â Using object variable "item" call object membe=
r method "get service id"
>
> if condition results are false issue following command
> Â Â Â Â Using object variable "item" call object membe=
r method "get id"
>
>
I totally agree with your method, but I would condense it in a more
pseudo code fashion:
Conditional statement, methods are members of object "item"
test expression, call method "get service id"
true expression, call method "get service id"
false expression, call method "get id"
End conditional statement
Of course it all depends on your previous experience communicating
with the other individual. Its ultimately about communicating the
correct information efficiently. As for following a convention, just
get the PHP terminology right, or at least agree on your on
bastardized terminology.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to pronounce PHP code over the phone?
am 17.10.2009 19:42:29 von Dotan Cohen
> As for following a convention, just
> get the PHP terminology right,
That is what I was hoping to learn!
> or at least agree on your on
> bastardized terminology.
>
Because this may cause problems in the future.
--
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
Re: How to pronounce PHP code over the phone?
am 17.10.2009 19:45:39 von LinuxManMikeC
On Sat, Oct 17, 2009 at 11:42 AM, Dotan Cohen wrote:
>> As for following a convention, just
>> get the PHP terminology right,
>
> That is what I was hoping to learn!
>
http://www.php.net/manual/en/langref.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: How to pronounce PHP code over the phone?
am 21.10.2009 00:11:35 von Daevid Vincent
> -----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%2 9
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to pronounce PHP code over the phone?
am 21.10.2009 09:42:04 von Dotan Cohen
> 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%2 9
>
Thanks. The word Reference was what was missing, as was the term "de-ref".
> 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.
>
Widely used, but sometimes unavailable due to technological limitations.
> Daevid.
Is your name related to "David"? I have never seen this spelling, and
my interest in etymology is overwhelming. What is the origin of this
name or spelling? 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
Re: How to pronounce PHP code over the phone?
am 21.10.2009 16:38:20 von TedD
At 9:42 AM +0200 10/21/09, Dotan Cohen wrote:
> > 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%2 9
>>
>
>Thanks. The word Reference was what was missing, as was the term "de-ref".
Read a bit further down in the above link, namely the php link, which is:
http://www.php.net/manual/en/language.variables.variable.php
Using the term "de-ref is not complete and could be misleading --
dereferencing a variable in php is simply $$var and not ->var.
The "arrow operator" ($a->$b) dereferences the element to its left
and accesses the member to it's right. If you want an example in C it
would be (*a).b
While I was not able to find the "official" name for the operator,
but it could be called an "dereference access operator" or the "field
access operator".
HTH's
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: How to pronounce PHP code over the phone?
am 21.10.2009 22:14:33 von Daevid Vincent
> -----Original Message-----
> From: tedd [mailto:tedd.sperling@gmail.com]
> Sent: Wednesday, October 21, 2009 7:38 AM
> To: Dotan Cohen; Daevid Vincent
> Cc: php-general.
> Subject: Re: [PHP] How to pronounce PHP code over the phone?
>
> At 9:42 AM +0200 10/21/09, Dotan Cohen wrote:
> > > 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%2 9
> >>
> >
> >Thanks. The word Reference was what was missing, as was the
> term "de-ref".
>
> Read a bit further down in the above link, namely the php
> link, which is:
>
> http://www.php.net/manual/en/language.variables.variable.php
>
> Using the term "de-ref is not complete and could be misleading --
> dereferencing a variable in php is simply $$var and not ->var.
>
> The "arrow operator" ($a->$b) dereferences the element to its left
> and accesses the member to it's right. If you want an example in C it
> would be (*a).b
>
> While I was not able to find the "official" name for the operator,
> but it could be called an "dereference access operator" or the "field
> access operator".
Well, if I were talking to a fellow PHPriend, I probalby wouldn't even use
the word "de-ref" as I would assume that they would know (some basics in
that) if I say, " 'item's getServiceID method " that 'item' is an object and
therefore must be prefixed with a dollar sign ($) and that to make a
'getServiceID' method, it requires the -> arrow as well as the ending
parenthesis.
But I think for the OP's purposes, he could simply DEFINE any word he wanted
at the beginning of the conversation: "Listen up duder. When I say 'de-ref'
you make hyphen and a greater-than sign. Capiche?". He could just as easily
say, "Listen up duder. When I say 'arrow-thingy' you make hyphen and a
greater-than sign. Capiche?" Problem solved. ;-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to pronounce PHP code over the phone?
am 23.10.2009 22:40:16 von Dotan Cohen
> But I think for the OP's purposes, he could simply DEFINE any word he wan=
ted
> at the beginning of the conversation: "Listen up duder. When I say 'de-re=
f'
> you make hyphen and a greater-than sign. Capiche?". He could just as easi=
ly
> say, "Listen up duder. When I say 'arrow-thingy' you make hyphen and a
> greater-than sign. Capiche?" Â Problem solved. ;-)
>
That is what was done, but I wanted to know if there was already some
agreed-upon language.
--=20
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
Re: How to pronounce PHP code over the phone?
am 24.10.2009 10:37:41 von Kim Madsen
Dotan Cohen wrote on 2009-10-23 22:40:
>> But I think for the OP's purposes, he could simply DEFINE any word he wanted
>> at the beginning of the conversation: "Listen up duder. When I say 'de-ref'
>> you make hyphen and a greater-than sign. Capiche?". He could just as easily
>> say, "Listen up duder. When I say 'arrow-thingy' you make hyphen and a
>> greater-than sign. Capiche?" Problem solved. ;-)
>>
>
> That is what was done, but I wanted to know if there was already some
> agreed-upon language.
There is... It's called a Fax ;-)
--
Kind regards
Kim Emax - masterminds.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to pronounce PHP code over the phone?
am 24.10.2009 11:12:23 von Dotan Cohen
> There is... It's called a Fax ;-)
>
Again, I am interested in knowing the proper terminology for PHP
constructs and code. We have a name for a small sweer green fruit from
the vine, and we have a name for the alcoholic beverage that is
derived from it. Knowing these names helps one communicate verbally,
even when one could simply fax a photo of a grape and a glass of wine.
--
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
RE: How to pronounce PHP code over the phone?
am 14.12.2009 12:59:29 von angelo
LOL,
This post really has so many replies. If only all the questions had as many
answers this post!
I enjoyed the laugh...
cheers
Angelo
http://www.elemental.co.za
http://www.wapit.co.za
-----Original Message-----
From: Dotan Cohen [mailto:dotancohen@gmail.com]
Sent: 24 October 2009 11:12 AM
To: Kim Madsen
Cc: php-general.
Subject: Re: [PHP] How to pronounce PHP code over the phone?
> There is... It's called a Fax ;-)
>
Again, I am interested in knowing the proper terminology for PHP
constructs and code. We have a name for a small sweer green fruit from
the vine, and we have a name for the alcoholic beverage that is
derived from it. Knowing these names helps one communicate verbally,
even when one could simply fax a photo of a grape and a glass of wine.
--
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to pronounce PHP code over the phone?
am 15.12.2009 16:10:21 von Richard Quadling
2009/10/16 Dotan Cohen :
>>>> It's called "vacation away from the 'net but there is an emergency". I'm
>>>> certain that a fair portion of the list is familiar with that!
>>>
>>> I haven't the slightest idea what you are talking about. Vacation? Away
>>> from the net? We must be from different planets...
>>
>> How to do you vacation from something implanted into your brain?
>>
>
> http://www.imdb.com/title/tt0100802/
>
> --
> 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
>
>
Surely "Johnny Moronic" would have been a better example?
--
-----
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to pronounce PHP code over the phone?
am 15.12.2009 16:17:46 von Richard Quadling
2009/10/16 Dotan Cohen :
> 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.
--=20
-----
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=3DZEND002498&r=3D213474=
731
ZOPA : http://uk.zopa.com/member/RQuadling
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php