A notification class has growing email, SMS, and push conditionals. How would you refactor it?
Identify the common send operation and introduce a notification-channel interface with separate email, SMS, and push implementations. Inject the selected channel into the application service and keep ...