Interview practice question
Adding notification channels keeps getting harder
Backend Engineering · OOP and Design Patterns · Intermediate
Product keeps adding notification channels: email, SMS, push, WhatsApp, Slack. The NotificationService has become a mess. How would you design it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Notifier interface per channel (strategy).
- Registry/factory by channel.
- Shared concerns (templates, retries) separate.
- User preferences decide channels.
- New channel = new class + config.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.