Java interface and organization of class organization within packages

I saw the organization below, but wondered if there are any established conventions or useful tips for organizing classes and interfaces?

  • [domain]. [Name]
    • Foo
      • impl (contains classes with abstract and concrete implementations)
      • intf (contains interfaces)
+4
source share
1 answer

There is no hard and fast rule, and your mileage may vary ...

, . , , , , factory - , public, private . , public, .

+1

Source: https://habr.com/ru/post/1523814/


All Articles