Laws of Software Engineering (@SoftwareEngLaws) header
Laws of Software Engineering (@SoftwareEngLaws) profile picture

A guide to the patterns that shape software systems, teams, and decisions, by @milan_milanovic.

Joined December 2025
Photo by Laws of Software Engineering (@SoftwareEngLaws)Photo by Laws of Software Engineering (@SoftwareEngLaws)Photo by Laws of Software Engineering (@SoftwareEngLaws)Photo by Laws of Software Engineering (@SoftwareEngLaws)Photo by Laws of Software Engineering (@SoftwareEngLaws)Photo by Laws of Software Engineering (@SoftwareEngLaws)Photo by Laws of Software Engineering (@SoftwareEngLaws)Photo by Laws of Software Engineering (@SoftwareEngLaws)Photo by Laws of Software Engineering (@SoftwareEngLaws)Photo by Laws of Software Engineering (@SoftwareEngLaws)
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โ€ฆ
8
3
16
1,887
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.
3
5
18
2,163
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โ€ฆ
2
2
7
1,944
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?
5
13
52
2,763
Laws of Software Engineering retweeted
Conway's Law at its best
Microservices are what happens when your organization has communication problems and you decide the architecture should have them too.
1
1
8
2,064
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.
3
5
15
2,616
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.
3
5
1
28
2,721
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
3
2
4
342
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.
1
3
5
546
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
1
1
3
63
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.
1
2
5
584
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.
5
5
1
55
4,499
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
1
6
22
1,628
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!
2
4
21
8,562
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).
3
6
30
2,405
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 ๐Ÿ‘‡
7
12
1
200
198,432
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.
3
5
18
3,027
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.
8
31
3,081
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.

23
303
1,394,804
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
8
33
287
11,068