Reputation:
I did create a java project on IDEA and its structure is as follow (by default):
My question is: is this structure a good practice?
Usually I see as a common practice to structure as: src/each/segment/of/a/package.
Upvotes: 0
Views: 829
Reputation: 3672
This has nothing to do with IntelliJ. This structure is the default Maven (and Gradle) structure, which is getting adopted on most project.
I'm not sure if we can say it's a good practice or no but it's pretty standard and if you're using Maven (or Gradle) it's the default structure, so it's better to keep it that way.
Upvotes: 2