Re: Flexible function naming
| From: | Robert Cerny | Date: | Mon, 16 Dec 2013 09:44:24 +0000 |
| Subject: | Re: Flexible function naming | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-70655@lists.php.net to get a copy of this message | ||
Tjerk Meesters wrote:
Consistency doesn't stop at how functions are named; there are enough functions that have an unintuitive order of function parameters, this isn't addressed in your proposal. You are right. There is more reasons for the inconsistent appearance of a large PHP code base. The one that you mentioned is IMHO a major annoyance while authoring code, it is only minor when reading code, in particular if you keep the numbers of function arguments small.covering legacy code? I consider this a pretty neat language feature.This small change would allow coding teams to create a consistent codebase based on 'their' guidelines. Motto: "Have it your way!". No. What is wrong with having a consistent code base all the way, also
If it were just the naming you wish to address, I would suggest writing an extension first and see how that catches on. Thanks, that is helpful. I look into that!Robert