Comments (6)
I’m not sure that software is inherently unstable without energy.
That's fair. The idea I'm grasping toward, I guess, is that the maintainability of a piece of software naturally trends downward as the complexity increases. It takes directed energy to prevent that by continuously refactoring and moving further up the abstraction ladder.
from book.
Right, trying to wrack my brain for a better metaphor for something that decays without oversight as it grows.
from book.
gardening?
from book.
from book.
ok have addressed points 1 and 3. just need to figure out a way to express this:
You can explain DI more easily once you have introduced layers by noting that as we depend downwards, it becomes impossible to use something from a higher layer.
from book.
Re: metaphors, one of our engineers likes to use the term "code gardening" for tech debt, so that's a fine idea. I'm just throwing a few more ideas out to spark some lateral thinking, and since Harry was tweeting about "Cosmic Python".
WRT "energy" and "stability" (if you were still going to use that metaphor) arguably energy or entropy also comes in the form of changing requirements, new feature requests, new technologies, changes to the team, etc.
Some other pattern nicknames/metaphors from the original BBOM piece include "Shantytown", "Potemkin Viliage", "Urban Sprawl", trench warfare.
For DI, perhaps you could put the very first part of the filesystem example in the prologue? It would create kind of a cliffhanger and a concrete example to motivate DI. Then in the following chapters, do the refactors to FCIS and DI.
On a 'Buzzword': Hierarchical Structure is very old, but I think relevant to the discussion around layers. It may be helpful.
from book.
Related Issues (20)
- Question related to the allocate model function HOT 8
- A question about rich domain model which may not mentioned in book HOT 2
- Aggregate/Entity ids handling. HOT 2
- Issue with domain object not bounded to a Session HOT 12
- Question - Repository Pattern without UoW HOT 5
- [Question] Can we issue a command in a domain model?
- [Question] SqlAlchemy complete decoupling - is it possible? HOT 3
- [Request] Return types HOT 1
- Wrong url for event storming on Epilogue
- Ch7: mention a "compare-and-set" alternative to "repeatable read" HOT 1
- Making the message bus reliable HOT 1
- What comes after the allocation example? Or: how to modularize the event-driven architecture? HOT 2
- Adaptations for other programming languages? HOT 1
- [Question] A repository for every entity?
- the diagram is this book is very well HOT 1
- ch1: A confusion about unit test demo. HOT 1
- SQLAlchemy and Imperative Mapping (a.k.a. Classical Mapping) HOT 3
- Can we use async await HOT 3
- Book website is "broken" HOT 4
- 'Bug' in Chapter 9 with the `FakeUnitOfWorkWithFakeMessageBus` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from book.