Transcript
Steve McConnell (0:00)
I thought this book would already have been written by someone and I wanted to see this book so that I could use it as material for an article. In my mind I was going to write a 250 page book, so for the first time I thought since I'd never published anything, I should probably make it look like I knew what I was doing. And so I created a detailed plan for the book and estimated the page count of the book and it came out to be 900 pages.
Podcast Host (0:21)
Code complete is a single best book on code construction, which includes coding, debugging, detailed design, testing, and many more topics. It's also the most detailed one with an impressive 900 pages. The second edition of the book was published in 2004 and 20 years later the book remains a best seller in software engineering. I sat down with the author of the book, Steve McConnell in Seattle. In this episode we get the history of writing Code Complete and how the publisher did not expect the book to sell well. The difference between software construction and coding. Steve's mental model of career development for software engineers and why he considers the concept of Lily Padha being harmful. The impact of AI on software engineering topics that Siv left out of Code Complete but now talks about in DEP and many more. Steve rarely gives interviews, so I hope you enjoy this special one. This podcast episode is presented by statsig, the unified platform for flags, analytics, experiments and more. Check out the Show Notes to learn more about them and our other seasoned sponsor. If you enjoy the show, please do subscribe to the podcast on any podcast platform and on YouTube. Steve, welcome to the podcast.
Interviewer (1:24)
It's so good to meet you in person.
Steve McConnell (1:26)
Yeah, thanks for having me.
Interviewer (1:27)
So you wrote this book? Code completed. I'm going to show it here. I was amazed when I first got my hands on the physical version on how long it is, how extensive it is, and how thorough it is. And the other big surprise I had I assumed that whoever wrote this must have been a really seasoned professional working 10, 20, probably 30 or 40 years. But I learned that you wrote this somewhat early career. How did you write it? And why did you even come up with the idea of writing such a massive and extensive book?
Steve McConnell (2:01)
So I didn't start out to write a book, I started out to write an article and I'd never published anything and so I thought I'd wanted to write and I thought about writing all different kinds of things and I was active as a programmer, so I thought write about what you know. And so I started doing research. I'm a good researcher, which is funny in today's context, but back then that involved going to a research library and looking through a card catalog and requesting materials through interlibrary loan. I mean, it's quite a different process. And so there was actually some skill involved in that. So basically I thought this book would already have been written by someone. And I wanted to see this book so that I could use it as material for an article. And so I basically just started doing research. And after reading about, I think I read about 80 articles and a handful of books, I convinced myself that this book didn't exist. And this was just baffling to me because there were books on requirements, design, testing, project management, but there wasn't a book on the main thing that programmers do, which is software construction. And so I just kind of shifted gears and I didn't set out to write a 900 page book, which was the first edition. I thought, you know, it's funny because in my mind I was going to write a 250 page book because all the other books I'd read in that space had been 250 to 350 pages. And so I did background research, I wrote a couple sample chapters, I got ready to submit my proposal to the publisher. At this point I only had two chapters written. And so for the first time I thought since I'd never published anything, I should probably make it look like I knew what I was doing. And so I created a detailed book plan for the book and for the first time estimated the page count of the book. And it came out to be 900 pages. And I thought, that can't possibly be right. I'm not writing a 900 page book, I'm writing a 250 page book. And so I estimated it a different way and I came up with something like 875 pages. So I thought, okay, I think I'm writing a 900 page book. I think the thing about that is that if I had thought a year earlier that it was going to be 900 pages, it never would have occurred to me to even try. And. But by that time I was too far into it. I was mentally and emotionally committed. And so I decided to just go ahead and do it and just help us.
