I'm developing an application with MVC pattern and I have around 20 classes overall including views, models and controllers. I would like to create packages for models, views and controllers because it makes it easier for me to find them when they're in different packages. But I'm worried if this is a wrong way of using the packages in terms of the java conventions. Any ideas?
-
As far as I can tell there isn't really a convention for what goes into a package.Stack Exchange Broke The Law– Stack Exchange Broke The Law2015-03-21 06:40:52 +00:00Commented Mar 21, 2015 at 6:40
-
Packages help you organize your code so I think it's far from against any conventions. They also allow for package private to be useful.ChiefTwoPencils– ChiefTwoPencils2015-03-21 07:03:31 +00:00Commented Mar 21, 2015 at 7:03
Add a comment
|