ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-qa
php-qa
[PHP-QA] Re: [PHP-DEV] RE: [PHP-QA] Re: [PHP-DEV] ctype function (re?)naming
by other posts by this author
Mar 2 2001 8:56AM messages near this date
[PHP-QA] PHP Advertising | Re: [PHP-QA] ctype function (re?)naming
Addressed to: Distribution list (see below)

** Reply to note from Ron Chmara <ron@[...].COM>  Thu, 01 Mar 2001 20:36:38 -0700
>    
>  Well, then defining "well known" may also become an issue. Well known
>  by whom? C programmers? Perl Hackers? Java users? 


Yes!  

If we are importing their concepts or libraries, use the existing terms.


If I do a  man fopen  and get information on how to use fopen, PHP
should call it fopen, not file_open or whatever else we might come up
with. If I read the instructions for library foo and all the
documentation talks about function wordword, then I think the php
function should be

   foo_wordword

because that is what all the foo documentation is going to call it.
Everyone who is familiar with foo will expect the function to be called
wordword, not word_word.  WordWord is not an issue here, php will run it
either way.



>  The users of a particular PHP module?

No.  We have control of the PHP side.  We don't have to worry about the
installed base of C programmers who expect fopen, or people who have
used the foo library that expect the function to be called wordword.

That said, be careful naming experimental and future libraries, and be
very slow forcing changes of existing functions.  Remember, this only
aplies to new stuff in PHP.  Importing a library should use the naming
convention of that library with a php defined prefix_ to identify the
library.



Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com

Distribution list: ron@[...].COM
                   Stanislav Malyshev <stas@[...].com> 
                   PHP Development <php-dev@[...].net> 
                   php-qa@[...].net
                   ron@[...].COM

-- 
PHP Quality Assurance Mailing List <http://www.php.net/> 
To unsubscribe, e-mail: php-qa-unsubscribe@[...].net
For additional commands, e-mail: php-qa-help@[...].net
To contact the list administrators, e-mail: php-list-admin@lists.php.net

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved