.NET Rocks!

Architecture vs Code with Steve Smith

10 snips
May 8, 2025
Steve Smith, an entrepreneur and software developer dedicated to building quality software, shares valuable insights on balancing architecture and code. He discusses how architectural strategies evolve with team size and the impact of modern tools on decision-making. The conversation also delves into the challenges of refactoring, the importance of simplicity in coding practices, and how to maintain project direction in software development. A compelling dialogue that highlights the delicate dance between effective architecture and efficient coding!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Duplication vs Coupling Balance

  • Eliminating all code duplication invariably introduces coupling in your code base.
  • Balancing duplication and abstraction is crucial to avoid complicated, messy shared methods.
ADVICE

Refactor When Complexity Grows

  • Regularly revisit and refactor shared methods when growing complexity arises.
  • Be willing to inline code and duplicate again if abstraction causes more harm than good.
ADVICE

Manage Duplication with Thresholds

  • Allow some code duplication initially to let developers move fast.
  • Address duplication when it occurs three times or more, but not after ten times.
Get the Snipd Podcast app to discover more snips from this episode
Get the app