Re: Functions/methods aliases in PHp 5.2
| From: | David Harkness | Date: | Mon, 16 May 2011 18:07:08 +0000 |
| Subject: | Re: Functions/methods aliases in PHp 5.2 | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312811@lists.php.net to get a copy of this message | ||
On Sun, May 15, 2011 at 3:15 PM, Richard Quadling <rquadling@gmail.com>wrote:
> Personally, I would recommend using 1 naming convention and sticking with
> it.
>
I wholeheartedly agree. Multiple method names is not flexibility--it's
confusion and an open invitation for bugs. Plus, even with two styles you'll
never satisfy everyone. For example I would expect getNumRows() or
getRowCount().
David