The Eric Normand Podcast

All about the architecture lens

Jul 31, 2023
Dive into the fascinating world of the architecture lens! Discover how architectural choices shape software development and problem-solving. The conversation emphasizes the importance of modeling complex states to streamline code management and enhance user experiences. Tools like Ajax and Postgres are highlighted for their roles in optimizing design. Prepare to rethink your approach to coding and embrace the complexity!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Architecture Imposes Fixed Constraints

  • Architecture means fixed decisions outside the problem scope that introduce constraints.
  • These decisions affect how you solve your domain problems but shouldn't be mingled with domain logic.
INSIGHT

Keep Domain Model Pure

  • Your domain model should remain pure without embedding technical complexities like databases or Ajax.
  • Keeping architectural concerns separate helps maintain domain clarity and focus.
ANECDOTE

Model Ajax States Explicitly

  • Eric models Ajax request states as three: unloaded, loading, loaded, where loaded also contains the returned value.
  • This helps manage asynchronous complexity systematically, improving reliability.
Get the Snipd Podcast app to discover more snips from this episode
Get the app