

All about the domain lens
Jun 19, 2023
Discover the innovative concept of the domain lens, which enhances software design through executable specifications. Learn how it helps identify specific problems in software development by emphasizing context. The discussion also critiques traditional object-oriented design, advocating for a focus on relationships rather than structures. By applying these ideas, developers can navigate challenges effectively and create simpler, more impactful solutions.
AI Snips
Chapters
Transcript
Episode notes
Focus on Real Problem First
- A common software design mistake is jumping to solutions like class hierarchies without understanding the real problem.
- Focusing on the actual problem you are trying to solve generates clearer, more fitting designs such as representing many-to-many relationships directly.
University OOP Design Example
- Eric shares his university experience where object-oriented design taught to turn nouns into classes and verbs into methods.
- This often leads to complicated designs trying to sync many-to-many relationships like students and courses.
Ask How to Solve Without Code
- Before coding, drop habitual recipes like drawing boxes and arrows and ask how you would solve the problem with paper and pencil.
- This helps clarify the actual problem and avoid overcomplicated or inappropriate models.