digitalmars.D - Package/Module naming standards
- Marco A (5/5) Jun 03 2004 Any naming standards? (besides lowercase)
- Stewart Gordon (11/15) Jun 04 2004 Partly because it's called SDWF, not SWDF. Secondly because it just
- DemmeGod (8/15) Jun 04 2004 I rather like the java convention- the domain backwards. It prevents
Any naming standards? (besides lowercase) For example why didn't Stewart Gordan just use "swdf.commondialog" instead of "smjg.libs.sdwf.commondialog"? I doubt there would be much namespace conflict with "swdf". (maybe I should download it to see :) I hope D doesn't adopt that whole Java naming mess with company-names etc.
Jun 03 2004
Marco A wrote:Any naming standards? (besides lowercase)Probably not.For example why didn't Stewart Gordan just use "swdf.commondialog" instead of "smjg.libs.sdwf.commondialog"? I doubt there would be much namespace conflict with "swdf". (maybe I should download it to see :)Partly because it's called SDWF, not SWDF. Secondly because it just seemed sensible to create a hierarchical system for my packages. I've found it useful for my applications as well, hence smjg.libs and smjg.apps. Stewart. -- My e-mail is valid but not my primary mailbox, aside from its being the unfortunate victim of intensive mail-bombing at the moment. Please keep replies on the 'group where everyone may benefit.
Jun 04 2004
On Thu, 03 Jun 2004 19:56:21 +0000, Marco A wrote:Any naming standards? (besides lowercase) For example why didn't Stewart Gordan just use "swdf.commondialog" instead of "smjg.libs.sdwf.commondialog"? I doubt there would be much namespace conflict with "swdf". (maybe I should download it to see :) I hope D doesn't adopt that whole Java naming mess with company-names etc.I rather like the java convention- the domain backwards. It prevents namespace conflicts. I'm using the package com.demmegod for my D libs (not that I've written a hell of a lot... yet) The problem I have with the java conventions is when it's violated- especially with sun and their sun packages. Where's the mess with the convention?
Jun 04 2004