Retour aux cas pratiques
SOLID PrinciplesExpert
Correction d'une interface transverse violant ISP à grande échelle
Scénario
Contexte Une interface ISystemService expose 12 méthodes utilisées par 8 implémentations différentes. Le Problème Chaque implémentation laisse plusieurs méthodes vides ou non supportées. Contraintes Segmenter l’interface en sous-interfaces cohérentes sans casser compatibilité ascendante. Livrable attendu Un découpage d’interfaces respectant Interface Segregation Principle avec migration progressive.
Compétences ciblées
architecturesolidispinterface-designrefactoring