Re: cvs: pear /Net_Whois Whois.php
| From: | Tomas V.V.Cox | Date: | Fri, 24 Aug 2001 19:04:26 +0000 |
| Subject: | Re: cvs: pear /Net_Whois Whois.php | ||
| References: | 1 2 3 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-651@lists.php.net to get a copy of this message | ||
On Friday 24 August 2001 19:52, Chuck Hagenbuch wrote:
> Quoting "Tomas V.V.Cox" <cox@idecnet.com>:
> > I would prefer "Net" instead of "net", mostly because I will
> > include Net/Whois.php instead of net/Whois.php. Package "Net"
> > correspond with the Net directory which is case-sensitive on *nix
> > systems.
>
> I don't think this is a valid reason, because Java runs on
> case-sensitive systems, but uses lowercase package names.
>
> Not that we need to emulate java in all things, but I think there
> should be a valid, well-thought-out reason if we want to be
> different, all other things being equal.
>
It only seems more intuitive for me. If I check the doc and see:
Pack: Net -> NNTP, Ping, IPv6
I would see in a moment that for using the ping class I should put
"require 'Net/Ping.php'".
In the other hand if see:
Pack: net -> nntp, ping, ipv6
I would need to check every file name before can use it.
You said: "Any opinions on this?" and I give my opinion. Is
"well-thought-out" for _me_ :-)
Tomas V.V.Cox