Re: [RFC] Skipping parameters take 2
| From: | Marcio Almada | Date: | Sun, 18 Jan 2015 02:01:20 +0000 |
| Subject: | Re: [RFC] Skipping parameters take 2 | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-80716@lists.php.net to get a copy of this message | ||
Just a note:
I still think a single char token (like
~) would look great and
wouldn't be "cryptic" like Yasuo argued. But, as said before, it's
just a minor observation. The default token is a great option and
sounds very intuitive to anyone I've asked for opinions.
2015-01-17 22:52 GMT-03:00 Marcio Almada <marcio.web2@gmail.com>:
>> Cryptic notation is not a PHP way. IMHO.I like original "default" proposal and it
>> is good enough.
>> Regards,
>
> When I suggested _ it was more as a feature wandering. I like
> default too. The RFC looks good enough as it is now :)
>
> 2015-01-17 22:14 GMT-03:00 Yasuo Ohgaki <yohgaki@ohgaki.net>:
>> Hi all,
>>
>> On Fri, Jan 16, 2015 at 7:29 PM, Patrick Schaaf <php@bof.de> wrote:
>>>
>>> Am 14.01.2015 20:50 schrieb "Simon J Welsh" <simon@welsh.co.nz>:
>>> >
>>> > > create_query("deleted=0", "name", _, _, true);
>>> > >
>>> > > Still not sure if it's better than
>>> > > default, though.
>>> >
>>> > That would be a BC break as you can currently have a constant _.
>>>
>>> A visually pleasing (IMO), even easier to type, and non-BC alternative,
>>> could be using a dash:
>>>
>>> create_query("deleted=0", "name", -, -, true);
>>
>>
>> Cryptic notation is not a PHP way. IMHO.
>> I like original "default" proposal and it is good enough.
>>
>> Regards,
>>
>> --
>> Yasuo Ohgaki
>> yohgaki@ohgaki.net