79822120

Date: 2025-11-17 09:52:28
Score: 7
Natty:
Report link

@PepijnKramer:

use interfaces/dependency injection and inversion of control to keep your design as loosely coupled as possible

I think the initial design above does use dependency injection? Or maybe I misunderstand what that means. The derived FeatureDefaultImpl class uses a constructor to allow the settings class to be injected in, but FeatureBase and SettingsBase are already uncoupled. Could you clarify what you meant?

Reasons:
  • RegEx Blacklisted phrase (2.5): Could you clarify what you
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @PepijnKramer
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: josh_eime