Is it bad practice to 'mix class and interfaces in the same package'?
Posted
by
DerMike
on Stack Overflow
See other posts from Stack Overflow
or by DerMike
Published on 2011-01-05T10:42:42Z
Indexed on
2011/01/05
10:53 UTC
Read the original article
Hit count: 192
java
|code-organization
Hello,
I just found something that I never heard of before and I do not agree with (by now). In an (upvoted and not further commented) answer I read "why to mix class and interfaces in the same package"
So I wonder, if there are reasons to separate Interfaces and implementations in Java.
I know that we are not obliged to have all implementations in the package of the interface, but is it (sometimes) wise to have none there?
Regards
Mike
[;-)
© Stack Overflow or respective owner