Re: [RFC] Skipping parameters take 2

From: Date: Mon, 02 Sep 2013 20:55:11 +0000
Subject: Re: [RFC] Skipping parameters take 2
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
I don't like it. Empty is how it's done on any language which allows this
sort of thing, it's the most intuitive and I don't see anything wrong with
it.

If you need this, it probably means that your priorities are not set well
in the function. And if you have a function that has multiple optional
parameters in which the order does not matter, you don't want multiple
optional parameters, you want one optional array, which would contain
whatever it is that you want.

Language constructs and syntax helpers aren't a substitute for well-written
code and documentation.


On Mon, Sep 2, 2013 at 11:48 PM, Levi Morrison <[email protected]>wrote:

> Oops, didn't mean to send a blank message, sorry all. Just clicked on the
> wrong spot.
>


Thread (69 messages)

« previous php.internals (#68866) next »