Hi all,
I am working on the report part of the CardDav draft
implementation
and I have a question about the name space, file/class
naming
conventions in Cosmo. Its more of a general question about
namespace/file naming in java programming language.
Here is the question:
Say I have a package "a" and package
"b" with similar classes, for
example say "package a" has X.java, Y.java and
"b" also has similar
classes with same functionality as X.java and Y.java. Is it
good to name
the file as bX.java and bY.java in the package b? Right now
the cosmo
convention is to use this kind of approach (I think its
there to avoid
the confusion.
Eg:
org.osaf.cosmo.dav.caldav.Caldav*
For me it will be like
org.osaf.cosmo.vcard.VCard*
and
org.osaf.cosmo.vcard.model.VCard*
I find it rather hard to see a directory full of VCard*, is
it a good
practice?
On the contrary I agree that it might resolve some confusion
apart from
looking at the package name space while instantiating the
classes.
_______________________________________________
cosmo-dev mailing list
cosmo-dev lists.osafoundation.org
http://lists.osafoundation.org/mailman/listinfo/cosmo-d
ev
|