On Mon, Sep 2, 2013 at 9:41 AM, Stas Malyshev <smalys...@sugarcrm.com> wrote: > Hi! > >> I am not sure whether this is a little overhead. >> >> but if we do want this. to be honest, I even prefer leave it empty to >> "default". >> >> like create_query("delete=0", "name", , , true); > > That's how it was initially, and I was convinced default is better. So I > don't think I'm going back to empty. default indeed seems to be more > readable (try to visually distinguish between ,,,, and ,,,, - if you > have a lot of code, it won't be that easy). It is more verbose, but PHP > never attempted to be "save the bytes" language. > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >
Hi, For me as a user it would make much more sense to have named parameters then typing default. Default also feels a bit strange to type. What if I miss one default in the line? Or in the other proposal here, what if I miss one comma? Named parameters would also solve a problem from another RFC that's being proposed right now if I understand correctly so why not go for that? Kind regards ---- Florin Patan https://github.com/dlsniper http://www.linkedin.com/in/florinpatan -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php