📁 Sangam Dhakal - Portfolio v2.0 - Netscape Navigator 4.0
_
□
×

📚 Interview question

How do you tell essential complexity from accidental complexity in an existing .NET system?

Senior Architecture Advanced

🎯 Key points

  • Essential = domain rules and regulations; accidental = our structural and tooling choices
  • Infrastructure-driven churn with no business change signals accidental complexity
  • Measure components/projects touched per feature from git history
  • Classify incident root causes: integration and plumbing vs wrong business rule
  • Visualise with dependency graphs, change-coupling analysis (e.g. CodeScene) and C4 diagrams
  • Model essential complexity explicitly; remove accidental complexity to improve maintainability

⏱ 30-second answer

Essential complexity comes from the domain itself: business rules, edge cases and regulations that any correct solution would have to model. Accidental complexity comes from our solution choices: network hops, mapping layers, generic frameworks, duplicated pipelines.

To tell them apart I look for:

  • Code that changes when infrastructure changes but not when the business changes — that churn isn't rooted in any rule, so it is accidental and a candidate for simplification.
  • How many components a typical feature touches (from git history: files and repos per PR). Five projects for one new field is a structural smell.
  • Incident causes. If most incidents are contract mismatches, timeouts or serialisation bugs between services rather than wrong business rules, the complexity is mostly accidental.

The architectural goal is to model essential complexity explicitly (rich domain, clear boundaries) and remove accidental complexity, because the accidental kind is what drives maintenance cost and slows scaling the team.

🔍 What the interviewer is checking

Checks they can find where an architecture can be simplified without losing business rules, and understand how accidental complexity hurts maintainability and team scalability.

Green flags

  • Uses evidence (git change coupling, incident root causes, components per feature) rather than opinion
  • Distinguishes structural choices from domain rules
  • Proposes simplifying accidental complexity while keeping the domain model rich

Red flags

  • Calls all complexity bad and wants to delete business rules
  • Answers with a rewrite rather than targeted simplification

↩ Usually asked after

More in Senior-Level Architecture

Last updated 23 Nov 2026.

🌐 Sangam's Webring

⏪ Previous 🏠 Main Next ⏩
💬 Chat with me