Re: substr/array_slice in []
| From: | Stefan Walk | Date: | Tue, 09 Oct 2007 09:47:30 +0000 |
| Subject: | Re: substr/array_slice in [] | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-32713@lists.php.net to get a copy of this message | ||
Antony Dovgal wrote:
> Right, so let's force other people to learn crappy unreadable syntax
> duplicating nice and clear function call
Oddly, this "crappy unreadable syntax" doesn't lead to any confusion or
complaints for newbies of languages like python or ruby, judging from
the IRC channels. And it's also odd that ruby users, where String#[] is
just an alias for String#slice, prefer this "crappy unreadable syntax"
over a "nice and clear" method call. One starts to wonder ...
Regards,
Stefan