keyword in package name.

Tino Wildenhain tino at wildenhain.de
Sun Oct 19 03:11:02 EDT 2008


Abhishek Mishra wrote:
> Hello Everyone,
> 
> I have the habit of using domain names (of either the application or
> company) in reverse in package names.
> 
> for e.g. com.spam.app1

While this seemed a good idea for java, I don't think it makes
sense for python - the reason: in python you have an import
mechanism, where in java you just have namespaces.

Therefore you can always avoid namespace clashes at import time.

Regards
Tino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3241 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20081019/65cb4d8f/attachment-0001.bin>


More information about the Python-list mailing list