<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Stefan Priebsch</title>
    <description>The latest articles on DEV Community by Stefan Priebsch (@spriebsch).</description>
    <link>https://dev.to/spriebsch</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3794790%2Fe091e985-0d14-46d9-bbc0-6f2fb20a6b8e.jpg</url>
      <title>DEV Community: Stefan Priebsch</title>
      <link>https://dev.to/spriebsch</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/spriebsch"/>
    <language>en</language>
    <item>
      <title>What Is Domain-Driven Architecture?</title>
      <dc:creator>Stefan Priebsch</dc:creator>
      <pubDate>Sat, 28 Nov 2026 17:46:56 +0000</pubDate>
      <link>https://dev.to/spriebsch/what-is-domain-driven-architecture-273i</link>
      <guid>https://dev.to/spriebsch/what-is-domain-driven-architecture-273i</guid>
      <description>&lt;p&gt;Michael Dowden asked me what I meant by Domain-Driven Architecture. About twenty minutes later, I was still
    answering.&lt;/p&gt;

&lt;p&gt;I coined the term, and it’s the title of the book I’m writing. You’d think I’d have a short answer ready by now. I
    still find parts of the idea hard to explain, and working on the book keeps turning up new questions. That
    conversation on &lt;em&gt;Signals&lt;/em&gt; was one of the times I felt I’d explained it well.&lt;/p&gt;

&lt;h2&gt;What should the architecture help the business do?&lt;/h2&gt;

&lt;p&gt;Domain-Driven Design helps a team understand and model how a business works. Domain-Driven Architecture builds on
    that understanding to decide where the software needs to change, and when. To make those decisions, we need to know
    how often something happens, what it costs the business, and what would tell us that the current approach is
    reaching its limits.&lt;/p&gt;

&lt;p&gt;I call the measurable limit of the current approach a &lt;em&gt;threshold&lt;/em&gt;. Say a team processes 50 orders a day by
    hand and estimates it can handle up to 80 while still meeting the shipping cutoff. If daily order volume grows by
    five orders each month, the team expects to reach that threshold in six months. Allow two months to implement and
    roll out a change, plus one month for uncertainty, and the latest safe start is three months from now. The team
    can use actual order volumes and shipping times to revise both the threshold and the forecast as it learns more.&lt;/p&gt;

&lt;p&gt;The business process stays stable as its implementation changes. The team still receives, checks, and fulfills
    orders. At low volumes, people can do the checks by hand. As order volume approaches the threshold, the team can
    automate routine checks and keep exceptions with the people who know how to handle them.&lt;/p&gt;

&lt;p&gt;That’s what I’m working on under the name &lt;em&gt;Domain-Driven Architecture&lt;/em&gt;. It’s a process model for doing
    architecture in a domain-driven way, without the baggage of unnecessary artificial complexity. This approach also seems to be very
    AI-friendly.&lt;/p&gt;

&lt;h2&gt;Watch or listen to the conversation&lt;/h2&gt;

&lt;p&gt;Thanks to Michael for the question and the conversation, and to Ines Chargui for talking me into doing the podcast in
    the first place.
    You can watch the episode on &lt;a href="https://devm.io/reader/player/what-is-domain-driven-architecture/" rel="noopener noreferrer"&gt;devmio&lt;/a&gt;
    or
    listen on the &lt;a href="https://signals-teaser.podigee.io/21-what-is-domain-driven-architecture" rel="noopener noreferrer"&gt;Signals episode
        page&lt;/a&gt; or &lt;a href="https://podcasts.apple.com/us/podcast/what-is-domain-driven-architecture/id1879774359?i=1000803966856" rel="noopener noreferrer"&gt;Apple
        Podcasts&lt;/a&gt;. You can also find the &lt;a href="https://open.spotify.com/show/6f9HXW8mS3o2N56kFEHyi6" rel="noopener noreferrer"&gt;Signals show
        on Spotify&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I'd personally recommend watching, because I did some drawing and it's probably easier to follow
    along if you watch. Enjoy the episode, and feel free to let me know what you think.&lt;/p&gt;

&lt;p&gt;Originally published at &lt;a href="https://software-success-consultant.com/what-is-domain-driven-architecture" rel="noopener noreferrer"&gt;https://software-success-consultant.com/what-is-domain-driven-architecture&lt;/a&gt;&lt;/p&gt;

</description>
      <category>podcast</category>
      <category>ddd</category>
      <category>architecture</category>
      <category>interview</category>
    </item>
    <item>
      <title>The code is done. The pipeline is still running.</title>
      <dc:creator>Stefan Priebsch</dc:creator>
      <pubDate>Wed, 25 Nov 2026 14:05:25 +0000</pubDate>
      <link>https://dev.to/spriebsch/the-code-is-done-the-pipeline-is-still-running-5d0j</link>
      <guid>https://dev.to/spriebsch/the-code-is-done-the-pipeline-is-still-running-5d0j</guid>
      <description>&lt;p&gt;Published November 19, 2026 · Author: &lt;a href="https://software-success-consultant.com/about" rel="noopener noreferrer"&gt;Stefan Priebsch&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Continuous Integration was one of the most important prerequisites for agile software development. Automated builds, tests and quality checks have enabled us to change software in small steps and integrate it regularly. Instead of discovering errors only after days or weeks, we receive feedback within minutes on whether a change works or what damage it has caused.&lt;/p&gt;

&lt;p&gt;With AI-assisted coding, however, the speed at which software is created is changing. And that also changes what we need to understand by fast feedback.&lt;/p&gt;

&lt;p&gt;A CI pipeline that takes ten minutes was long considered quite acceptable for human developers. For a coding agent that could make, check and, if necessary, correct numerous changes in that time, ten minutes is an eternity. What was a short feedback loop for humans can become a bottleneck for AI agents.&lt;/p&gt;

&lt;h2&gt;
  
  
  The speed of development changes the requirements
&lt;/h2&gt;

&lt;p&gt;Agile software development is great: we change something, check the result and use the feedback to decide on our next step. Do we continue in the same direction, do we need to adjust our course, or should we discard the work we have just done? The sooner we receive feedback on the code, the smaller we can keep our steps and the earlier we recognise when we are heading in the wrong direction.&lt;/p&gt;

&lt;p&gt;Coding agents can take this approach to a new level. They can implement a small, or even a fairly substantial, change, run tests, interpret the results and immediately correct the code they have produced. Ideally, this happens in a tight loop in which every step is backed by results from trustworthy development tools. But that only works if those results are available quickly enough.&lt;/p&gt;

&lt;p&gt;If an agent first has to commit and push code after every change and then wait for a CI pipeline, it loses a significant part of its speed advantage. Even if the implementation itself takes only a few seconds, it can take several minutes before the agent finds out whether it was correct.&lt;/p&gt;

&lt;p&gt;Of course, the agent could continue working in the meantime. But that would mean giving up precisely what makes short feedback loops so valuable: the ability to build the next step on a result that has already been checked. We would be back to coding blind by necessity, even though we actually have quality assurance tools at our disposal.&lt;/p&gt;

&lt;p&gt;The amount of unvalidated change would grow rapidly. When a test finally fails, the agent has to work out which of the changes made in the meantime caused it.&lt;/p&gt;

&lt;p&gt;We have not solved the problem. We have merely increased the speed at which we produce technical uncertainty.&lt;/p&gt;

&lt;h2&gt;
  
  
  CI is not the problem. Depending on it is.
&lt;/h2&gt;

&lt;p&gt;Continuous Integration remains indispensable in a world with coding agents. We still need to ensure that changes made by different developers and agents work together, that the overall system remains consistent and that we can deliver software that functions correctly.&lt;/p&gt;

&lt;p&gt;However, a development we have observed in many projects has become problematic: over the years, more and more quality assurance has moved into central CI infrastructure. This includes static code analysis, architecture checks, security scans, formatting rules and other quality gates. These often run only after code has been pushed to the repository.&lt;/p&gt;

&lt;p&gt;From an organisational perspective, this is understandable. A central pipeline provides consistent checks, controlled execution environments and traceable results. But it also creates a dependency on infrastructure that is becoming increasingly problematic for the immediate development process.&lt;/p&gt;

&lt;p&gt;Rather than merely making our CI pipelines faster, we need to consider which checks actually need to take place in a central pipeline in the first place. Many could just as well run locally. And in the context of AI coding, there are good reasons to do exactly that.&lt;/p&gt;

&lt;h2&gt;
  
  
  The quality gates need to come to the agent
&lt;/h2&gt;

&lt;p&gt;If we want coding agents to work reliably and largely autonomously, we need to give them the means to check their own results. An agent must be able to do more than write code. It also needs access to the tools that tell it whether that code meets the functional and technical requirements.&lt;/p&gt;

&lt;p&gt;These include unit tests, static analysis, type checks, architecture rules and, where appropriate, integration tests. All of them must be reproducible and runnable locally without manual intervention.&lt;/p&gt;

&lt;p&gt;This is not about creating a second quality assurance system that is independent of central CI. On the contrary: local development and CI should use the same tools and rules wherever possible.&lt;/p&gt;

&lt;p&gt;The CI pipeline should not be the only place where we can check quality. It should confirm what has already been checked during development. Much like a frontend validates input to give users fast feedback and a better user experience, while the backend follows the rule “never trust data from another system” and, hopefully, repeats the same checks.&lt;/p&gt;

&lt;p&gt;Technically, this means that we need to provide our quality gates as tools that can run independently. A local invocation should apply the same rules as the corresponding check in the CI pipeline. The central CI infrastructure then orchestrates these tools again in a controlled environment and adds whatever we could not reasonably run locally.&lt;/p&gt;

&lt;p&gt;This does not transfer responsibility for quality from CI to the agent. It enables quality to be checked continuously during implementation, instead of only afterwards.&lt;/p&gt;

&lt;h2&gt;
  
  
  Not every test needs to run after every change
&lt;/h2&gt;

&lt;p&gt;Local availability alone is not enough, though. An agent gains little if it has to run a complete test suite that takes twenty minutes after every small change. We therefore need to think more carefully about which tests make sense at which point.&lt;/p&gt;

&lt;p&gt;After a small code change, running the directly affected unit tests and a static analysis may be sufficient. Once a coherent change is complete, further tests should follow, checking, for example, how several components interact. Extensive end-to-end tests, mutation tests or full security scans can still take place at later checkpoints.&lt;/p&gt;

&lt;p&gt;This principle is not new. Established approaches to Continuous Integration and Continuous Delivery already distinguish between fast checks for immediate feedback and more extensive tests in later pipeline stages.&lt;/p&gt;

&lt;p&gt;What is new is how important this distinction becomes. A human developer can read documentation, work on another task or take a coffee break while a longer test suite runs. An agent whose next step depends on the test result, however, is waiting for technical feedback. The latency of the check directly becomes the latency of its work process.&lt;/p&gt;

&lt;p&gt;We should therefore assess tests not only by the errors they can detect, but also by how quickly they provide usable feedback. A test that detects an error within one second has a different value for a tight agent feedback loop than a test that reports the same error only after ten minutes.&lt;/p&gt;

&lt;p&gt;This certainly does not mean we should abolish slow tests. It does mean we need to decide deliberately where, and at what point, they run.&lt;/p&gt;

&lt;h2&gt;
  
  
  Testability becomes a prerequisite for speed
&lt;/h2&gt;

&lt;p&gt;This brings a topic into focus that has received too little attention in many organisations for years: the testability of the software architecture. If even a simple unit test requires a database, several external services and complex infrastructure, that is more than a test automation problem. It is also a sign of too many dependencies and missing architectural boundaries.&lt;/p&gt;

&lt;p&gt;Well-structured software allows parts of the system to be tested independently. Business logic can be checked in isolation, components have clearly defined interfaces, and external dependencies can be replaced wherever they are irrelevant to the actual test.&lt;/p&gt;

&lt;p&gt;These properties have always been valuable. Since we started using coding agents, they have gained additional economic significance.&lt;/p&gt;

&lt;p&gt;The speed at which an agent can make changes is useful only if it can check those changes just as quickly. An architecture that makes local tests difficult therefore directly limits the productivity of agentic software development.&lt;/p&gt;

&lt;p&gt;Conversely, clear module boundaries, low coupling and deterministic tests enable more than better maintainability. They create the conditions for agents to work in small, verifiable steps.&lt;/p&gt;

&lt;h2&gt;
  
  
  We need to reassess our development infrastructure
&lt;/h2&gt;

&lt;p&gt;Many of our current development processes are designed to support human developers in their work. In doing so, we have made implicit assumptions about their working speed. If an implementation takes several hours, five minutes of CI runtime may barely matter. If the same implementation takes a few minutes with an agent and involves numerous internal iterations, the calculation changes.&lt;/p&gt;

&lt;p&gt;We should therefore measure more than how quickly coding agents generate code. We also need to consider how long it takes for a change to be tested so that the agent can reliably continue. The optimisation target is the time needed to get from a requirement to a change that can be integrated reliably, rather than the number of generated lines of code or completed agent actions.&lt;/p&gt;

&lt;p&gt;This also means consistently automating local development environments. If an agent first has to spend considerable effort configuring databases, starting services or preparing test data before it can check a change, we create unnecessary friction again.&lt;/p&gt;

&lt;p&gt;Reproducible development environments, automated test fixtures and clear interfaces for running quality gates thus become central elements of an AI-ready development platform.&lt;/p&gt;

&lt;h2&gt;
  
  
  CI remains important, but its role changes
&lt;/h2&gt;

&lt;p&gt;It would be a mistake to conclude from these considerations that we can dispense with central CI pipelines in future.&lt;/p&gt;

&lt;p&gt;Local checks cannot verify every property of an integrated system. Some errors emerge only through the interaction of different components, parallel changes by other developers or differences between development and production environments.&lt;/p&gt;

&lt;p&gt;We need an independent instance that checks whether a change actually meets the agreed quality requirements. An agent must not decide for itself which mandatory checks to skip simply because running them is inconvenient or time-consuming.&lt;/p&gt;

&lt;p&gt;The central CI pipeline therefore remains an important part of our quality assurance. But it should not be the primary source of feedback for immediate development work.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fast feedback becomes decisive
&lt;/h2&gt;

&lt;p&gt;In agentic software development, the speed of feedback will increasingly determine how much of the agents’ theoretical productivity we actually realise.&lt;/p&gt;

&lt;p&gt;Anyone who wants to use AI coding successfully should therefore invest in more than models, prompts and agents. Aligning our software architecture, test strategy and development infrastructure with fast, local and reproducible feedback loops is at least as important.&lt;/p&gt;

&lt;p&gt;Ultimately, what matters is not how quickly an agent can write code. It is how quickly it finds out whether that code works as expected.&lt;/p&gt;




&lt;p&gt;Originally published on &lt;a href="https://software-success-consultant.com/the-code-is-done-the-pipeline-is-still-running" rel="noopener noreferrer"&gt;Software Success Consultant&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>development</category>
      <category>ci</category>
      <category>devops</category>
      <category>ai</category>
    </item>
    <item>
      <title>The software works. The business behind it no longer exists.</title>
      <dc:creator>Stefan Priebsch</dc:creator>
      <pubDate>Thu, 12 Nov 2026 12:44:05 +0000</pubDate>
      <link>https://dev.to/spriebsch/the-software-works-the-business-behind-it-no-longer-exists-pa0</link>
      <guid>https://dev.to/spriebsch/the-software-works-the-business-behind-it-no-longer-exists-pa0</guid>
      <description>&lt;p&gt;Published November 12, 2026 · Author: &lt;a href="https://software-success-consultant.com/about" rel="noopener noreferrer"&gt;Stefan Priebsch&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;“We won’t need a postal address in future. An email address will suffice.”&lt;/p&gt;

&lt;p&gt;What sounds like a minor change to a form can turn an entire industry on its head. And what might appear in the backlog as an adjustment to a data field may, in reality, mean that significant parts of the existing business process have become redundant.&lt;/p&gt;

&lt;h2&gt;
  
  
  A small change
&lt;/h2&gt;

&lt;p&gt;Let’s imagine a company that sells software. Not as a download, but in the traditional way: in a box, on a physical data carrier, with a printed manual.&lt;/p&gt;

&lt;p&gt;A customer orders a product. The company takes the order, issues an invoice, arranges for the goods to be picked from the warehouse, hands the consignment over to a logistics provider and waits for the parcel to reach the customer.&lt;/p&gt;

&lt;p&gt;The software maps out this process. There are orders, invoices, stock levels, dispatch orders and parcel tracking. There are addresses, delivery charges and delivery dates.&lt;/p&gt;

&lt;p&gt;Then the company decides to deliver its products digitally in future. An obvious requirement for the software is now: ‘We no longer need a postal address for the customer. Instead, we’ll ask for an email address.’&lt;/p&gt;

&lt;p&gt;That sounds straightforward. Change a field in the data model, tweak a form, perhaps swap out a few validations.&lt;/p&gt;

&lt;p&gt;Of course, an email address is not a billing address. Billing data and delivery information serve different purposes. But it is precisely this conceptual ambiguity that is interesting: it shows how quickly we reduce a fundamental change in the domain to the level of individual data attributes.&lt;/p&gt;

&lt;p&gt;Because here, it is not simply a data type that has changed. Here, the world that our software represents has changed.&lt;/p&gt;

&lt;h2&gt;
  
  
  What has actually disappeared?
&lt;/h2&gt;

&lt;p&gt;Let’s consider the business process as it stood: an order leads to a dispatch order. The dispatch order leads to a product being picked from the warehouse. The product is packed and handed over to a delivery service provider. At some point, it is delivered.&lt;/p&gt;

&lt;p&gt;Along the way, numerous operational decisions are made: Is the product available? From which warehouse is it dispatched? Which delivery method is used? What happens if delivery fails? How is a return handled? When is the order considered fulfilled?&lt;/p&gt;

&lt;p&gt;All these questions are valid. They form part of the business domain because the company sells and dispatches physical goods. However, with the shift to digital delivery, many of these questions become irrelevant.&lt;/p&gt;

&lt;p&gt;There is no longer any packaging, no parcel service, no dispatch labels, no physical delivery, no traditional stock levels and no returns in the conventional sense. This means that an entire part of the business process is eliminated. This is not an optimisation of the existing logistics; it is the abolition of the previous logistics system.&lt;/p&gt;

&lt;p&gt;And with it, technical concepts, responsibilities, rules and dependencies – which may have shaped the software architecture over many years – disappear. We haven’t simply replaced a postal address with an email address. We no longer need the postal address for delivery.&lt;/p&gt;

&lt;h2&gt;
  
  
  So what has emerged in its place?
&lt;/h2&gt;

&lt;p&gt;Of course, digital delivery does not mean that an order suddenly no longer requires fulfilment. After all, the customer must still receive what they have paid for. It’s just that ‘receiving’ now means something different.&lt;/p&gt;

&lt;p&gt;Instead of sending a parcel, the company might provide a download. Instead of reducing stock levels, it generates a licence. And instead of issuing a tracking number, it grants access authorisation.&lt;/p&gt;

&lt;p&gt;The new operational questions are: Is the customer permitted to download the software? How long will the download remain available? Are they allowed to install the product multiple times? What happens if the email containing the download link does not arrive? How is a lost licence key replaced? What happens to the access authorisation if a purchase is reversed?&lt;/p&gt;

&lt;p&gt;These questions must be answered. They give rise to processes, business rules and responsibilities. But these are different processes, different rules and different responsibilities to those that have existed until now.&lt;/p&gt;

&lt;p&gt;The company has not simply changed the method of delivery. It has redefined what it means to fulfil an order. In the past, an order was considered fulfilled once the goods had been delivered. Perhaps it was only deemed complete once delivery had been confirmed. Today, an order might be considered fulfilled as soon as a valid licence has been issued and the customer has been granted access.&lt;/p&gt;

&lt;p&gt;The same technical term can take on a completely different meaning as a result of a change in the domain. This applies to ‘delivery’ just as much as to ‘availability’, ‘stock levels’ or ‘order completed’.&lt;/p&gt;

&lt;p&gt;And that is precisely what makes such changes so interesting from an architectural perspective.&lt;/p&gt;

&lt;h2&gt;
  
  
  If we only change the data model
&lt;/h2&gt;

&lt;p&gt;Let’s now imagine that the development team actually regards the new requirement as nothing more than a change to the data structure.&lt;/p&gt;

&lt;p&gt;The postal address becomes optional. An email address becomes mandatory. The existing dispatch process is adapted so that it processes a download link instead of a delivery address. Perhaps the concept of a dispatch order remains in place. A digital dispatch order would then result in a download link being generated and sent by email.&lt;/p&gt;

&lt;p&gt;This might work technically. It might even be the most economically sensible solution in the short term, for example during a transitional phase in which physical and digital products are offered in parallel.&lt;/p&gt;

&lt;p&gt;However, it becomes problematic if this solution is based on a misconception of the domain. For then we are dragging the technical concepts of physical logistics into a world where they no longer have any relevance.&lt;/p&gt;

&lt;p&gt;A download becomes a special case of a parcel. A licence is treated like a stock item. The provision of a digital product must navigate through process steps that were originally designed for physical goods.&lt;/p&gt;

&lt;p&gt;What initially looks like the reuse of existing software very quickly becomes a burden. New business requirements must be translated into concepts that were never intended for that purpose. Business rules become scattered across exceptional cases. The architecture preserves assumptions about the business model that have long since ceased to apply.&lt;/p&gt;

&lt;p&gt;The software then no longer reflects the current domain, but rather the history of the domain.&lt;/p&gt;

&lt;h2&gt;
  
  
  The most dangerous changes look harmless
&lt;/h2&gt;

&lt;p&gt;In software development, we often discuss how we can design systems so that they can be easily changed. We talk about things like modularity, loose coupling, extensibility and stable interfaces. In doing so, we often imagine changes as additions or modifications to existing functionality: we create a new field. We’ve discovered an additional business rule, or another process step. After all, this is just a new variant of an existing workflow.&lt;/p&gt;

&lt;p&gt;But domains do not always change incrementally. Sometimes entire parts of the reality on which our software is based disappear. A company no longer sells products, but subscriptions. An intermediary becomes a provider in its own right. A service provider automates a service that was previously provided by people. A physical product is replaced by a digital service.&lt;/p&gt;

&lt;p&gt;Such changes cannot necessarily be adequately modelled by adding further properties or introducing additional variants of existing processes.&lt;/p&gt;

&lt;p&gt;Sometimes we have to accept that a familiar term means something fundamentally different today than it did yesterday. Unfortunately, we do not always recognise changes as such in good time, because the business requirement may not reach us as ‘We are phasing out our logistics’. It arrives as a ticket titled ‘Use email address instead of postal address’.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture begins before the data model
&lt;/h2&gt;

&lt;p&gt;So what should the development team have done? First, understand how the business has changed: Which activities will no longer take place in future? Which new activities are emerging? Which business decisions will become redundant? Which new decisions will need to be made? Which events will mark the progress of an order in future?&lt;/p&gt;

&lt;p&gt;The aim is to visualise both the current and future business processes. We do this through collaborative modelling, for example using Architectural Roleplay, Event Storming or Domain Storytelling.&lt;/p&gt;

&lt;p&gt;In the current process, we find events such as:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Order placed → Goods picked → Parcel dispatched → Parcel delivered&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In the new process, the sequence of events might be:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Order placed → Licence generated → Access granted → Customer notified&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Both processes begin with an order. Both serve to deliver the service to the customer. But in between lies a fundamentally different business world. When we visualise the processes, we recognise differences that would hardly be noticeable in a discussion about data fields.&lt;/p&gt;

&lt;p&gt;Only on this basis should we decide what impact the change will have on the data model, the components, the interfaces and the architecture as a whole. Perhaps large parts of the existing software can be reused. Perhaps we need a new business component for digital delivery. Perhaps we need to redistribute responsibilities amongst existing components.&lt;/p&gt;

&lt;p&gt;We should not make any of these decisions before we have understood exactly which problem we are actually solving.&lt;/p&gt;

&lt;h2&gt;
  
  
  Not every change is an extension
&lt;/h2&gt;

&lt;p&gt;A common notion of good software architecture is that we should fulfil new requirements through extensions wherever possible, without having to alter existing structures. This is a sensible aim, provided that the fundamental assumptions about the domain do not change.&lt;/p&gt;

&lt;p&gt;However, if these assumptions become obsolete, clinging to the existing structures can be extremely detrimental. A system developed for physical dispatch is not necessarily the right foundation for digital delivery. The fact that both processes fulfil an order does not make them variants of the same business process – just as two things do not automatically share the same business meaning simply because we can place them within a common data structure.&lt;/p&gt;

&lt;p&gt;Good architecture therefore does not merely consist of accommodating changes through extensions. It must also enable us to remove outdated concepts and redraw business boundaries.&lt;/p&gt;

&lt;p&gt;A system that can only grow but not shrink is not truly adaptable. This applies not only to the code, but also to the way we mentally structure our systems.&lt;/p&gt;

&lt;h2&gt;
  
  
  The real question
&lt;/h2&gt;

&lt;p&gt;The next time someone suggests a seemingly harmless change to the data model, it is worth taking a closer look. Perhaps a business process has just disappeared, a responsibility has been dropped, or a new business model has emerged.&lt;/p&gt;

&lt;p&gt;We do not recognise this by the scope of the change in the code; we only recognise it if we understand the domain.&lt;/p&gt;

&lt;p&gt;Switching from a postal address to an email address can take a matter of minutes; the elimination of an entire logistics chain certainly cannot.&lt;/p&gt;

&lt;p&gt;Changing a data field is sometimes merely the visible symptom of a fundamental change to the domain. Anyone who focuses solely on the data field may miss the actual architectural decision.&lt;/p&gt;




&lt;p&gt;Originally published on &lt;a href="https://software-success-consultant.com/small-change-big-architectural-decision" rel="noopener noreferrer"&gt;Software Success Consultant&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ddd</category>
      <category>architecture</category>
      <category>programming</category>
    </item>
    <item>
      <title>Darth Vader is not Simbas father</title>
      <dc:creator>Stefan Priebsch</dc:creator>
      <pubDate>Wed, 11 Nov 2026 01:27:33 +0000</pubDate>
      <link>https://dev.to/spriebsch/darth-vader-is-not-simbas-father-1b0g</link>
      <guid>https://dev.to/spriebsch/darth-vader-is-not-simbas-father-1b0g</guid>
      <description>&lt;p&gt;I was on holiday in Greece, staying at a hotel that offered evening entertainment. One night, they performed The Lion King. The actors were lip-syncing to playback. But the wonderful thing was that they used parts of the original dialogue from the Disney film. So there I was, watching a hotel show, listening to the voice of James Earl Jones, voicing Mufasa, the lion.&lt;/p&gt;

&lt;h2&gt;
  
  
  Like father, like son?
&lt;/h2&gt;

&lt;p&gt;And then I heard Mufasa say: “Remember who you are. You are my son.” My brain immediately went to Darth Vader. "I am your father". Same voice. Different words, but same message. Very different parenting styles, though.&lt;/p&gt;

&lt;p&gt;And because apparently I cannot even go on holiday without thinking about software architecture, my next thought was: bounded contexts.&lt;/p&gt;

&lt;p&gt;In The Lion King, the father is Mufasa. The son is Simba. We’re talking about lions, kings, the Pride Lands, and Hakuna Matata (remember, I was on holiday). In Star Wars, the father is Darth Vader. The son is Luke Skywalker. We’re talking about Jedi, the Force, spaceships, and a family with some fairly serious unresolved issues.&lt;/p&gt;

&lt;p&gt;Then there’s James Earl Jones, the real person whose voice brings both characters to life. In his professional world, these are two acting credits.&lt;/p&gt;

&lt;p&gt;This makes three contexts, each with its own model of who someone is and how they relate to others. Disney owns both fictional worlds. That doesn’t make Simba a Jedi. And sharing a voice doesn’t make Mufasa Darth Vader.&lt;/p&gt;

&lt;p&gt;Yet in software, we regularly make exactly that kind of mistake. We find the same word in two departments and decide it must represent the same thing: “Customer.” “Account.” “Order.”&lt;/p&gt;

&lt;p&gt;Then we build one shared model and spend the next five years explaining why it needs so many exceptions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three bounded contexts
&lt;/h2&gt;

&lt;p&gt;Before we ask whether two things should share a model, we need to ask: what do they mean here? Let us model the three bounded contexts.&lt;/p&gt;

&lt;p&gt;The third bounded context is casting and performance, with James Earl Jones as a person represented within it. A person alone is not a bounded context. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdewkxcpqp4grulc8w3tx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdewkxcpqp4grulc8w3tx.png" alt=" " width="800" height="633"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Context&lt;/th&gt;
&lt;th&gt;Relevant concepts&lt;/th&gt;
&lt;th&gt;Meaning of the relationship&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;The Lion King&lt;/td&gt;
&lt;td&gt;Lion, king, parent, heir&lt;/td&gt;
&lt;td&gt;Mufasa is Simba’s father.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Star Wars&lt;/td&gt;
&lt;td&gt;Jedi, Sith, parent, lineage&lt;/td&gt;
&lt;td&gt;Darth Vader is Luke’s father.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Casting and performance&lt;/td&gt;
&lt;td&gt;Person, actor, role, performance, credit&lt;/td&gt;
&lt;td&gt;James Earl Jones supplies the voice for both roles.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The casting context connects the two fictional contexts through separate performance records and character references. There is no direct relationship between Mufasa and Darth Vader inside their stories. Even Disney's shared corporate ownership of both universes justifies no shared domain model.&lt;/p&gt;

&lt;p&gt;The same voice can tell different stories. Your models should let it.&lt;/p&gt;

&lt;p&gt;Originally posted at &lt;a href="https://software-success-consultant.com/darth-vader-is-not-simbas-father" rel="noopener noreferrer"&gt;https://software-success-consultant.com/darth-vader-is-not-simbas-father&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ddd</category>
      <category>architecture</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
