On 09 October 2007 08:18, Antony Dovgal wrote:
> On 09.10.2007 10:57, Alexey Zakhlestin wrote:
> > > How come?
> > > It looks like you're reading $bar[':5'], but forgot the quotes.
> > > On the other side, what could be easier than a function call?
> >
> > operator is definitely easier because it lets us reuse the same
> > syntax for strings and arrays (and people would need to learn one
> > operator instead of 2 functions and 2 different concatenation
> > operators)
>
> Yes, I see this quite often in the list: "let's invent a new thing
> instead of an old thing, that would make peoples' life easier".
>
> But you forget that both the old and the new thing would co-exist
> and people would have to learn BOTH, which definitely doesn't make
> any life easier.
You have to be joking!!!
People would only *have* to learn one -- whichever they prefer to use. You'd get some people routinely using one, and others routinely using the other -- but *all* of them would be happier using the version they prefer, instead of half of them being pissed off at having to use a crappy unreadable function call instead of a nice, readable alternative syntax. (Just MHO, of course.)
Variety is the spice of life, after all!
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
JG125, The Headingley Library,
James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 812 4730 Fax: +44 113 812 3211
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm