Reputation: 10332
Put them all in one separate folder structure or along with classes which implements them ?
Upvotes: 3
Views: 4125
Reputation: 233337
You should never put interfaces together with the classes that implement them (unless those classes fulfull the requirements below). Doing that will introduce a tight coupling between the interface and the implementer, and you will not be able to create other implementations of the interface without simulataneously referencing the implementer.
You basically have two options:
Upvotes: 9