Thread overview | |||||
---|---|---|---|---|---|
|
June 03, 2004 Package/Module naming standards | ||||
---|---|---|---|---|
| ||||
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. |
June 04, 2004 Re: Package/Module naming standards | ||||
---|---|---|---|---|
| ||||
Posted in reply to Marco A | 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. |
June 05, 2004 Re: Package/Module naming standards | ||||
---|---|---|---|---|
| ||||
Posted in reply to Marco A | 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?
|
Copyright © 1999-2021 by the D Language Foundation