
A guide to the patterns that shape software systems, teams, and decisions, by @milan_milanovic.
Joined December 2025
- Tweets439
- Following2
- Followers202
- Likes298
Laws of Software Engineering retweeted
My team picked Knockout.js in 2014 but now no one is using it anymore
A few years after we picked Knockout, everyone was migrating away from it.
Do you know that COBOL still runs most of the core banking? Every major OS kernel is written mostly in C, from 1972. SQL is in almost every stack and you're probably using it too.
This is called ๐๐ต๐ฒ ๐๐ถ๐ป๐ฑ๐ ๐๐ณ๐ณ๐ฒ๐ฐ๐. The longer something has been in use, the longer it is likely to stay in use.
It works the same way for what we learn:
๐น ๐๐ถ๐ฏ๐ฟ๐ฎ๐ฟ๐ถ๐ฒ๐ ๐ฎ๐ป๐ฑ ๐๐ผ๐ผ๐น๐ change every few months.
๐น ๐๐ฟ๐ฎ๐บ๐ฒ๐๐ผ๐ฟ๐ธ๐ change every few years.
๐น ๐๐ฟ๐ฐ๐ต๐ถ๐๐ฒ๐ฐ๐๐๐ฟ๐ฒ ๐๐๐๐น๐ฒ๐ change about every decade.
๐น ๐๐ฎ๐๐ ๐ฎ๐ป๐ฑ ๐ฝ๐ฟ๐ถ๐ป๐ฐ๐ถ๐ฝ๐น๐ฒ๐ hold for decades, because most of them describe how people and teams behave.
AI takes over more of the top of that list every year. The bottom is still our job.
So learn the things that don't change first.
I collected 63+ of these laws and principles in my book, ๐๐ฎ๐๐ ๐ผ๐ณ ๐ฆ๐ผ๐ณ๐๐๐ฎ๐ฟ๐ฒ ๐๐ป๐ด๐ถ๐ป๐ฒ๐ฒ๐ฟ๐ถ๐ป๐ด. For Black Friday, it is 40% off until Monday, November 30, with code HIPP0J8: techworldwithmilan.gumroad.cโฆ
Laws of Software Engineering retweeted
Software projects have gone wrong the same way for 60 years, and at Heapcon 2026 (@Heapconf) in Belgrade, I talked about why
It was the last keynote of the conference. The questions at the end confirmed that this talk matters more now than ever, as AI amplifies these laws.
Laws of Software Engineering retweeted
A โฌ49.99 invoice was charged as โฌ4,999.
Invoicing sent cents, payments read euros, and each team talked to its agent instead of the other. Conway's Law, with AI on both sides.
When the laws point in opposite directions:
newsletter.techworld-with-miโฆ

ALT Infographic titled 'Name the force before you fix it' with three steps: 1. List the forces (a three-month promise to the board, five engineers and 10 agents added in month six, a token leaderboard). 2. Pick the 3 to 5 laws at work (Hofstadter, Brooks, Goodhart). 3. Fix the strongest force first (keep the date and quality, cut scope by launching in one country first). Bottom line: When two laws disagree, follow the one behind the strongest force.
Laws of Software Engineering retweeted
๐ง๐ต๐ฒ ๐ญ๐ฌ ๐๐ผ๐ณ๐๐๐ฎ๐ฟ๐ฒ ๐ฒ๐ป๐ด๐ถ๐ป๐ฒ๐ฒ๐ฟ๐ถ๐ป๐ด ๐ฏ๐ผ๐ผ๐ธ๐ ๐ ๐ธ๐ฒ๐ฒ๐ฝ ๐ฟ๐ฒ๐ฐ๐ผ๐บ๐บ๐ฒ๐ป๐ฑ๐ถ๐ป๐ด
Before you pick your next book, ask yourself what your biggest issue is right now.
I have used all ten and already recommended them in private.
Here they are, by the problem each one solves:
1. ๐๐ฒ๐ฐ๐ผ๐บ๐ถ๐ป๐ด ๐บ๐ผ๐ฟ๐ฒ ๐ฝ๐ฟ๐ผ๐ณ๐ฒ๐๐๐ถ๐ผ๐ป๐ฎ๐น ๐ถ๐ป ๐๐ผ๐๐ฟ ๐๐ผ๐ฟ๐ธ โ The Pragmatic Programmer by David Thomas and Andrew Hunt
2. ๐ ๐ฒ๐๐๐, ๐ต๐ฎ๐ฟ๐ฑ-๐๐ผ-๐ฟ๐ฒ๐ฎ๐ฑ ๐ฐ๐ผ๐ฑ๐ฒ โ A Philosophy of Software Design by John Ousterhout
3. ๐ง๐ฒ๐ฎ๐บ ๐ผ๐ฟ ๐ฝ๐ฟ๐ผ๐ท๐ฒ๐ฐ๐ ๐ฑ๐๐๐ณ๐๐ป๐ฐ๐๐ถ๐ผ๐ป โ Laws of Software Engineering (my book)
4. ๐๐ฟ๐ฐ๐ต๐ถ๐๐ฒ๐ฐ๐๐๐ฟ๐ฒ ๐ฑ๐ฒ๐ฐ๐ถ๐๐ถ๐ผ๐ป๐ โ Fundamentals of Software Architecture by Mark Richards and Neal Ford
5. ๐๐ฟ๐ฒ๐ฎ๐ธ๐ถ๐ป๐ด ๐ฎ๐ฝ๐ฎ๐ฟ๐ ๐ฎ ๐บ๐ผ๐ป๐ผ๐น๐ถ๐๐ต โ Software Architecture: The Hard Parts by Neal Ford, Mark Richards, Pramod Sadalage, and Zhamak Dehghani
6. ๐๐ถ๐๐๐ฟ๐ถ๐ฏ๐๐๐ฒ๐ฑ ๐๐๐๐๐ฒ๐บ๐ ๐ฑ๐ฒ๐ฐ๐ถ๐๐ถ๐ผ๐ป๐ โ Designing Data-Intensive Applications, 2nd Edition, by Martin Kleppmann and Chris Riccomini
7. ๐๐๐ถ๐น๐ฑ๐ถ๐ป๐ด ๐๐ ๐๐๐๐๐ฒ๐บ๐ ๐ถ๐ป ๐ฝ๐ฟ๐ผ๐ฑ๐๐ฐ๐๐ถ๐ผ๐ป โ AI Engineering by Chip Huyen
8. ๐ช๐ฟ๐ถ๐๐ถ๐ป๐ด ๐๐ฒ๐๐๐ ๐๐ต๐ฎ๐ ๐ต๐ผ๐น๐ฑ ๐๐ฝ โ The Art of Unit Testing by Roy Osherove with Vladimir Khorikov
9. ๐๐ต๐ฎ๐ป๐ด๐ถ๐ป๐ด ๐ฒ๐
๐ถ๐๐๐ถ๐ป๐ด ๐ฐ๐ผ๐ฑ๐ฒ โ Refactoring by Martin Fowler
10. ๐๐ฎ๐ฟ๐ฒ๐ฒ๐ฟ ๐ด๐ฟ๐ผ๐๐๐ต โ The Software Engineer's Guidebook by Gergely Orosz
If you ask me for one book, that would be definitely The Pragmatic Programmer. This is a must-read for every professional developer out there.
The full issue has more books, and my notes on them:
newsletter.techworld-with-miโฆ
Back to you, which book had the most impact on you?
Laws of Software Engineering retweeted
I was a guest on Software Engineering Radio, the IEEE podcast, talking about my book ๐๐ฎ๐๐ ๐ผ๐ณ ๐ฆ๐ผ๐ณ๐๐๐ฎ๐ฟ๐ฒ ๐๐ป๐ด๐ถ๐ป๐ฒ๐ฒ๐ฟ๐ถ๐ป๐ด
Episode 738 is out. Host Giovanni Asproni and I went through the 63+ laws in the book. We talked about which ones are the most important, how to use them in a real project, and what they mean for teams that code with AI.
I'm glad that I had the opportunity to talk with my colleague from one of my past companies.
Link to the episode is in the first comment.
Laws of Software Engineering retweeted
My book sold 1,500 copies in 4 months and one pattern: Europe still likes paper more
Four months after publishing my book Laws of Software Engineering, here are some data that surprised me:
- Amazon Germany sold 87 print and 24 Kindle editions
- Netherlands 30 print and 3 Kindle
- Spain 23 print and 1 Kindle
- United States 205 print and 209 Kindle
European readers like to read more in paper, and I'm in the same bucket.
After 20 years in software I expected much more people read ebooks, but it's still not the case. On Amazon 460 books sold in print vs 317 ebooks
I assume people buy the book as a reference. And I do the same. I have a collection of 5000 books, but in print only ~200, as I keep only those ones I consider that will be helpful in the future. And I received a lot of great feedback on it (thank you!)
In addition, Serbian edition already sold 600 in the first edition, and we are preparing second edition with 300 copies. Thanks to my publisher Kompjuter biblioteka on this.
Laws of Software Engineering retweeted
Software that reflects the real world cannot be finished
The requirements move, the code moves, and every move adds complexity
Lehman started counting in 1974 and reached eight laws by the 1990s. Adding a feature in year 25 takes longer than in year 5
Laws of Software Engineering retweeted
The VAT rate lived in four places: the API, the invoice PDF, a nightly job, and a spreadsheet someone owned
We updated three of them
Every fact in your system needs one home. Copy it and you have signed up to change it in four places, forever.
Laws of Software Engineering retweeted
We shipped 100 features and the analytics said users touched 10
Nobody wanted to hear which 90 to cut
Least of all me. I had championed four of them
Ninety percent of everything is crap. Go find the 10% that carries the value
Laws of Software Engineering retweeted
The most confident estimate in the room came from the person who had never opened that codebase
The engineer who wrote it said two weeks, maybe
Certainty drops as you learn where a system breaks. Listen to the one who hedges.
Laws of Software Engineering retweeted
Most of what I know about building software didn't come from a book
It came from projects that failed, teams that had problems, and deadlines that we couldn't hit
After enough of those, the patterns start to repeat for me. You see Conway's Law in every org whether or not anyone names it. Brooks's Law shows up the moment when you have deadline problem and you try to add new people (we all did that).
What's interesting is that some of these laws are older than I am. They've been known for half a century almost. The trouble is that they lived in different places: a conference talk, an old blog post, one chapter of a book most people never finished. Nobody had put them in the same room.
So I spent the last few years doing it.
Laws of Software Engineering is out. Over 60 laws and principles across 7 parts: architecture, team dynamics, estimation, quality, scale, and how we make decisions when the pressure is on. 300 pages. Forewords by Rebecca Parsons and Addy Osmani. Reviewed by 20 engineers, architects, and managers whose judgment I trust.
I wrote the book I wanted handed to me 20 years ago. Having to know the laws was never the hard part. Knowing which one fits the problem in front of you is.
Link in the comments.
Laws of Software Engineering retweeted
Most products are sold as finished goods
Software is released as an unfinished obligation
Every release begins a new cycle of maintenance, fixes, security updates, and adaptation to changing users and environments
A release is not the end of development
It is the start of ownership
The Law of Unfinished Software
Laws of Software Engineering retweeted
Here is a map of the US showing where my eBook is sold.
Note: Here are not the paperback and hardcopy versions.
Thank you all!
Laws of Software Engineering retweeted
My book sold 1,258 copies in the first two months in 74 countries
I expected to be the story, but it turned out the map was
It reached 74 countries, with the US leading by a wide margin, then Germany, the UK, and the Netherlands. After that, the map scatters into places I have no tie to.
I sold one copy in Senegal, one in Cambodia, and one in Armenia. About a third of those copies are print (and 50%+ hardcover).
I'm grateful and a bit stunned by where it ended up.
If you have a copy, tell me where you're reading it from. I want to see how far it actually went.
Along with this, the Serbian version has already sold more than 350 copies in subscription (to be published at the end of the month).
Laws of Software Engineering retweeted
I met many leaders who haven't read a book in years
They said they don't have time. But here is the problem with that.
They don't read, but they decide to add five people to a late project and make it later. Brooks wrote about it 50 years ago. Also, they decide to reorg the team and are surprised when software architecture is wrong afterwards. Conway saw this in 1968.
Here we cannot see anything new. Most of the mistakes we see in today's teams are already done many times. Some people learned about it and wrote it down. We just don't read it.
That bothered me a lot, so I spent more than two years writing "Laws of Software Engineering". Inside you can find 63+ laws and principles that explain why software teams and systems behave the way they do (and they will for many years to come). All of the laws include real-life use cases.
If you're interested to learn more, check my book ๐
Laws of Software Engineering retweeted
With the rise of AI, everyone thinks the rules of software engineering don't hold anymore
They are wrong. A lot.
What I found is that old laws are here to stay, and even a few of them are even stronger than before.
Take an example of Conway's Law. The system is shaped by how its builders communicate. Now, we build with agents, and the same thing happens just one layer down. Boundaries between agents, the handoffs, and where it breaks trace back to how you split the work. If your agents don't talk to each other, you will get architecture that doesn't either. The law is now on the orchestration level.
Goodhart's Law is maybe even more visible. It says that the moment a measure becomes a target, it stops telling the real truth. We see this in many companies now with tokenmaxxing: people optimize their work to be at the top of token usage benchmarks because companies have started measuring it, but the real impact is missing.
Don't forget Hyrum's Law too. Given the system has enough users, every observable behavior becomes something someone depends on. AI models make this worse, because they are non-deterministic. A pipeline parses the output once, but the next time you depend on that pipeline, that could be changed.
None of these laws are new; some of them are a few decades old. AI didn't change them; it just raised the price of ignoring them.
I wrote about these and more than 60 others in my book Laws of Software Engineering.
Laws of Software Engineering retweeted
๐๐ฎ๐๐ ๐ผ๐ณ ๐ฆ๐ผ๐ณ๐๐๐ฎ๐ฟ๐ฒ ๐๐ป๐ด๐ถ๐ป๐ฒ๐ฒ๐ฟ๐ถ๐ป๐ด ๐ถ๐ ๐ป๐ผ๐ ๐ฎ๐ป ๐ฎ๐๐ฑ๐ถ๐ผ๐ฏ๐ผ๐ผ๐ธ ๐ง
A lot of people told me the same thing after the book came out: I want to read this, but I can't find time to sit down with it.
So I made the audiobook.
Laws of Software Engineering is now something you can listen to. On your commute, at the gym, or on a long walk. Six hours and nine minutes, all 63+ laws, all seven parts, narrated start to finish.
The laws don't change in audio form. Conway's Law still explains why your architecture mirrors your org chart. Brooks's Law still bites when you add people to a late project. Hyrum's Law can still make every API you ship problematic. You just take them in differently when someone walks you through them, one at a time, while you're out walking yourself.
The audiobook is DRM-free. You get one M4B with chapters, plus the MP3s if you want them. Download it once, and it's yours, on any device, for good.
There's a sample too, so listen first and decide for yourself.
๐ง ๐๐๐ฑ๐ถ๐ผ๐ฏ๐ผ๐ผ๐ธ: techworldwithmilan.gumroad.cโฆ
๐ ๐ฆ๐ฎ๐บ๐ฝ๐น๐ฒ: lawsofsoftwareengineering.coโฆ
Prefer to read? You can do it in two ways:
๐ ๐๐ฏ๐ผ๐ผ๐ธ (๐ฃ๐๐ + ๐ฒ๐ฃ๐๐ฏ), 20% off this week: techworldwithmilan.gumroad.cโฆ
๐ ๐ฃ๐ฎ๐ฝ๐ฒ๐ฟ๐ฏ๐ฎ๐ฐ๐ธ, ๐๐ฎ๐ฟ๐ฑ๐ฐ๐ผ๐๐ฒ๐ฟ, ๐ผ๐ฟ ๐๐ถ๐ป๐ฑ๐น๐ฒ ๐ผ๐ป ๐๐บ๐ฎ๐๐ผ๐ป: amazon.com/dp/9699893680/
What is interesting is that most readers chose to buy a hardcover.
If you've already read it, thank you. If you've been meaning to, now's a good time.
Laws of Software Engineering retweeted
Every senior engineer learned these the hard way. Conway's Law. Brooks's Law. Hyrum's Law. 63+ principles that shape every system, team, and decision. One book, so you don't pay the same tuition.
Laws of Software Engineering retweeted
๐ It's here! The first copies of "Laws of Software Engineering" arrived!
After so much time working on it, seeing the first physical copies of my new book is an incredible feeling.
Why did I decide to write it? Most of what I learned during my career already had a name. I just didn't know it yet. Brooks's Law for the team, where adding people made us slower. Conway's Law for the architecture that is shaped by our org chart. Hyrum's Law for every undocumented behavior became something a customer depended on.
People had been studying these laws for fifty years, but nobody handed me the map. So I decided to write one for myself and others.
Inside are 300+ pages, 63+ laws and principles, across seven parts:
โข Architecture & Complexity
โข People, Teams & Organizations
โข Time, Estimation & Planning
โข Quality, Maintenance & Evolution
โข Scale, Performance & Growth
โข Coding & Design Principles
โข Decision-Making & Biases
@rebeccaparsons (CTO Emerita, Thoughtworks) and @addyosmani (Engineering Director, Google Cloud AI) wrote the forewords. Their work shaped how a lot of us write software. It is still surreal that they said yes.
In the first three weeks of launch, 1000 copies had already been sold, and the book is the Amazon Best Seller in its category.
Where can you get it:
๐ eBook (PDF + ePub): techworldwithmilan.gumroad.cโฆ
๐ Paperback, Hardcover, Kindle: amazon.com/dp/9699893680/?reโฆ
#softwareengineering #programming #leadership














