Immutable Code, a Disputed Layer Count and Other Open Questions

Most books close with a recap. This one closes with a list of things its author cannot yet prove. After a whole book arguing that rate of change, not technology, decides where code belongs, the last chapter tests the claim on unfamiliar ground and then says what remains untested. It labels its own contents as proposals, so that is how I will treat three of them here.

When the code cannot be edited

The chapter sketches how the layers might apply to quantum computing, blockchain and edge devices. These are mapping exercises: the book works out where each kind of component would land, and does not report systems built that way. Blockchain is the sharpest of the three because of one hard constraint. A deployed smart contract cannot be modified in place.

That raises the stakes of volatility analysis. The book's argument is that putting a fast-changing rule into a stable layer costs most where the layer cannot be touched after release, so the architect has to decide in advance what will never change and what must stay replaceable. Its mapping puts contract interfaces and token standards at the bottom, business logic behind upgradeable proxy patterns, and wallet and front-end services at the top.

Here is my own illustration, not the book's. Take a ticket-resale contract. The rule that a ticket belongs to exactly one wallet will survive any change of business model. The rule that the organiser takes a cut of each resale is a commercial decision that will be renegotiated. If both live in one immutable contract, a fee change means a new contract and a migration of every ticket in circulation.

TicketLedger          (immutable)
  ownerOf(ticketId)  -> wallet
  transfer(ticketId, to)   asks the policy before moving
ResalePolicy          (replaceable)
  feeFor(ticketId, price) -> amount

A proxy is one route to replaceability, and a plain pointer to a swappable policy contract shows the same idea. Whichever you choose, replaceability is not free, because it moves trust to whoever is allowed to swap the policy. That swap mechanism deserves the same design care as the code it guards.

Is nine a finding or a default?

One of the seven open questions asks whether nine is always the right number of layers. The book's own account is candid. The nine-layer model reflects the volatility bands observed in the system where it was developed, and other domains might show more or fewer. The first edition had eight layers, and a ninth appeared once the user interface got the same scrutiny. The book adds that its Chapter 4 theorems hold for any number of layers, which is what makes the question coherent: the proofs do not depend on the count.

Treating the count as something to discover would need a method for finding bands. What follows is my own sketch, not the book's method. Measure the change rate of every component, plot the rates on a logarithmic scale and look at the shape. Tight clusters would suggest natural layers. A smooth continuum would suggest that boundaries are useful conventions but arbitrary ones. The measurement side of that experiment is what automated volatility measurement is about.

There is a catch. Rates can propose bands, but the names and roles of layers such as Skills or Agents say what a layer is for, and no histogram will derive that. A rate analysis could tell you how many bands you have without telling you what to call them.

Do nine categories help or burden?

Another question is cognitive load, and the book argues both sides. Clear boundaries shrink what one developer must hold in mind. Nine categories, with the rules that come with them, are also more to learn than a simpler three-tier arrangement. It asks for empirical studies to settle the matter.

A cheap proxy any team could try, again my idea and not the book's: give several engineers the same handful of realistic change requests and ask each to say which layer every change belongs in. High agreement suggests the categories are learnable. Scattered answers point to fuzzy definitions, or to a layer that is doing too many jobs. It is no substitute for a proper study, but it gives a team its own data in an afternoon.

The takeaway

The chapter poses seven questions in all, and I have touched only two of them. What makes it unusual is the habit it models: marking which claims have been tested and which are still proposals. Read it that way. If you apply the layers somewhere odd and write down what happened, you are doing what it asks. For the second edition's reasoning on the ninth layer, see what is new in the second edition and why the UI deserves its own layer.

What the book covers

  • Mapping tables that place quantum-computing components into the layers, from circuit schemas to hybrid orchestration
  • How an edge or IoT system splits between microcontroller-friendly lower layers and gateway or cloud upper layers
  • The remaining open questions: scale beyond 1,000 developers, cross-language fit, team topology, formal verification and economic return
  • The call to researchers and practitioners and the envisioned open-source LVD toolkit
  • Exercises on research proposals, cognitive-load study design, mapping a new technology domain and proposing a new axiom or layer