Sign in to follow this  
Genjix

where should my interface file go?

Recommended Posts

if i have an interface between two deeply nested unrelated classes where should i put the interface file on the filesystem? should i make a third directory, put it in both their parents or choose one directory over the other?

Share this post


Link to post
Share on other sites
What do YOU think. Whatever makes it more clear in your own mind i would stick with, until you find some reason that its location begins to fog your view of the interface and its dir/design relation.

Share this post


Link to post
Share on other sites
I honestly don't know thats why I asked. Normally putting them in their shared parents directory would sounds logical, but that would mean they end up being in the main application class.

Doesn't matter now as I have used symlinks ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this