4 ms·
A common interface with all of the required functionality exposed as interface methods. A Java person would argue that if you have a function that takes an obje
by dljsjr 5y ago
A common interface with all of the required functionality exposed as interface methods. A Java person would argue that if you have a function that takes an object that can be two totally disparate things with no shared functionality then that’s a code smell.