News for hackers. Stuff that matters.
Re:Reusable Software? Just Don't Write Generic Code by jontro on Wednesday January 07, 2015 @08:06AM (#8850257)
Sometimes it's necessary to use interfaces in java even if you will just have one implementation. AOP and proxy creation requires this in some cases.

IDE support for this is great so you do not have to type it twice.

Re:Reusable Software? Just Don't Write Generic Code by chriswarbo on Wednesday January 07, 2015 @09:18AM (#8850577)
I think the point is to use interfaces where necessary, but not where unnecessary. If proxying/AOP/etc. require interfaces, then use interfaces (or don't use proxying/AOP/etc.; the same argument can be applied there too!)