2dbi

What are design principles and design patterns?

viaGlassdoor

Problem Explain the difference between design principles and design patterns, with examples.

Be ready to discuss

  • Design principles: general OO guidelines — SOLID, DRY, KISS, YAGNI.
  • Design patterns: named reusable solutions — Factory, Strategy, Observer, etc.
  • Concrete examples of each and where you have applied them.
  • How principles inform when (and when not) to reach for a pattern.
Add a follow-up question they asked
No follow-ups yet. Be the first to add one.
asked …
LeaderboardSalary
Language
Account