Home:ALL Converter>Interface Segregation avoiding recompilation in Java

Interface Segregation avoiding recompilation in Java

Ask Time:2012-11-20T03:56:46         Author:Mik378

Json Formatter

Interface Segregation principle aims to avoid creating useless dependencies between components by splitting groups of cohesive features through new smaller interfaces.

One important benefit of adhering to is the removal of unnecessary compilation time forced when components were tight coupled with unnecessary part of fat interfaces.

But I wonder whether that benefit really exists in Java...

Indeed, in Java, contrary to C++ world for instance, as long as one used method doesn't change its signature, client component can be left untouched even if dependent module(interfaces generally) has grown, avoiding the need to recompile this latter.

So, is the benefit of compilation coupling really significant (maybe even non-existent) in Java?

Author:Mik378,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/13461176/interface-segregation-avoiding-recompilation-in-java
yy