Kent C. Dodds (00:01.240) Hey everybody, it's Kent C. Dodds and I'm very excited to be joined by my friend Grady Booch. How are you doing, Grady? Grady (00:03.154) I'm well, Kent. Thank you. Kent C. Dodds (00:09.656) Thank you, thank you so much for joining me. And I have to apologize. I actually didn't double check that I pronounced your last name correctly before we started. Is that the right way to say it? Okay, okay, sounds good. Well, thank you so much, Grady. Those listening, many of them might be aware of who you are and have been anticipating this episode. A lot of people were excited about this opportunity for us to talk about product engineering and the future of software development. Grady (00:18.039) It's good enough. Grady (00:28.160) to the floor and. Grady (00:33.236) about about product engineering and future software development. So for those who are not, get a little bit of your background, to conceptualize or have a little bit of background for you. Gosh, I don't know where to begin, Kent. I built my first computer when I was 12, but that was the age in what would have been 1967, so it was all out of relays and transistors. I discovered software and thought that was pretty cool. Kent C. Dodds (00:39.502) So for those who are not, I think it would be useful to get a little bit of your background to contextualize our conversation today. Could you give us a little bit of background for you? Kent C. Dodds (01:00.174) Hmm Grady (01:05.548) So I learned Fortran and then eventually went to the Air Force Academy where I was able to combine my interest in space and computing. I spent the first several years of my career in the nation's space program and then started a software company with two of my classmates, Rational Software. We grew to about a billion in revenue, some 3,500 people in 14 countries and were eventually acquired by IBM, although Microsoft was bidding on us. in 2003. They made me a fellow upon my acquisition and I stayed in IBM research the entire time. Most of my work has been in the area of software architecture where I get called in as an architect for a variety of systems across every imaginable domain. The last several years of my life, I had been working on some neural symbolic systems as part of NASA's mission to Mars. We were doing some work in Austin for the Johnson Space Center. Kent C. Dodds (01:36.471) Hmm. Kent C. Dodds (01:59.598) Hmm. Grady (02:03.078) And it led us to a number of interesting use cases. Ultimately, I ended up in the last several years at IBM at our MIT AI labs, where I spent several years working with one of our neuroscientists to better understand the architecture of the mind. Now that I have left IBM, I'm not really retired, but I have three projects I'm working on. One is a book on software architecture. Another is a book and a documentary, kind of like Carl Sagan's Cosmos. but focused upon the intersection of computing and what it means to be human. And last, I am continuing to expand the work on self, the architecture that we built for NASA's mission to Mars. Kent C. Dodds (02:43.938) Wow, yeah, that is quite, I wouldn't know where to begin either. When asked that question with that background. That's a pretty impressive and honestly a wonderful legacy that you have created. So that's awesome, thank you for sharing that. I wonder kind of to frame some of our conversation today. It sounds like right now you're actively working on these three books. I've seen online that you also do actively code and. Grady (02:53.980) And honestly, what we'll like to do next year. I if the brain is not completely free. It sounds like right now you're inactive. I've seen online that you also do inactive with folks. And the history where you find software that's not well-off. I'm curious how much work did like to prepare for this. One of the things that I worried about was getting started with the software. Kent C. Dodds (03:14.789) in that history where you joined Microsoft, you're a technical fellow. I'm curious how much coding you did while you were there because one of the things that I worried about as I was getting started into software development and I was very excited about coding, I saw the higher ups say, well, I don't really do much coding anymore. was like, oh man, I never wanna be a higher up. just, love coding so much. So I'm curious what... your experience has been and how much direct active coding you've done over the course of your career. Grady (03:47.047) To be precise, you said I coded at Microsoft as a technical fellow. I was never an employee of Microsoft, although Bill tried to hire me. That's a story unto itself. I was a fellow at IBM. Kent C. Dodds (03:59.009) gotcha. Grady (03:59.564) In the early part of my career, I did most of my work in Ada, of all things, and I was one of the developers on the R1000. I actually built some of the code we shipped with that. Ada was an interesting language in the history of computing. Many of the things that Ada did were ahead of its time, its tasking model, its exceptions model, its generics model, its packaging model, and many languages are rediscovering those things these days. I then switched to doing a lot of work in Pascal of all things, then eventually C and C++. Bjarne Stroustrup and I had some very useful interactions as he was developing C with classes, which became C++. And as I was developing the BOOCH method, which turned into the unified modeling language, we found one another at a conference and hit it off. In fact, we went on a lecture series around the country together. where we learned a lot from each other. And if you look at his first edition of his book, you'll see, he quotes my work a lot and vice versa as well too. So a lot of my work then shifted to CNC plus plus because I was doing work primarily in the, let's just say, the defense world where if things go awry, you know, people die and civilizations collapse. So you don't necessarily want to use things like react. So, Kent C. Dodds (05:14.466) Yeah. Kent C. Dodds (05:18.222) shots fired. Grady (05:21.856) Shots are fired. For a while in my career, I'd say for a decade or so, I didn't actively code on products because I was, as an architect, helping organizations. But that didn't mean that code didn't get under my fingernails. Among other things, for example, I worked with the IRS. You remember them. Hopefully you did your taxes a few weeks ago. And tried to help them on the rewrite of their system. So. Not a lot of coding, but a lot of architecting. As we began the work back again, really after IBM Watson, then I turned back to C++ and then to Python. And really for the last seven years, I've been primarily using Python. Claude is my go-to agent that I work with and I use pretty much every day. Mostly for Python, a little bit of PHP, some HTML, some old languages as well too. Kent C. Dodds (06:19.638) Yeah, I was talking with my dad who he's a certified public accountant, but he did a little bit of coding when he was younger. And I was just telling him, dad, like agents have gotten so good that I could write the code that you were writing. Like I could tell the agent to write whatever language that you were writing back then. And it's just, it's pretty amazing. And it's that, that kind of leads us into the reason that we're having this conversation in the first place. Grady (06:24.971) Mm-hmm. Kent C. Dodds (06:47.158) I'll give a brief bit of background. So I posted a blog post titled, The Last Software Engineer. I honestly didn't intend for that to be a clickbaity title. It's actually just a metaphor for what I'm trying to do as an educator, is historically I've always just been about accelerating the acquisition of experience for software developers through intentional practice. And with agents, Grady (06:54.731) I honestly didn't expect that. It's actually just a metaphor for what I am. I'm trying to do this in a procedure. Kent C. Dodds (07:16.894) being able to take over a lot more of the implementation than they used to or certainly than they used to, but like increasingly going in that direction, I just played a thought experiment. What if eventually they take over all implementation? What is the last thing that the last software engineer is still useful for? What's the skill that's still useful? And that's the thing I'm going to teach. That way it's as durable as possible. So that's the whole idea. But yeah, that blog post. Grady (07:25.803) going in that direction, I could, what if, eventually they take over all of it? What is the last stage, the last operating building that's built? And that's the business. So it reminded me or it brought to mind the book by Francis Fukuyama, The End of History and the Last Man. Kent C. Dodds (07:45.376) ruffled some feathers a little bit. I'd like to ask you first, what was your first impression upon seeing the title? Because actually that's what I posted first was just what the title was. And then after having actually read the article. Grady (08:07.753) in which he made a similarly provocative analysis of the end of democracies. And you were saying similar things. So yes, your title was a little bit of clickbait, but as I read the article then, you made the statement, eventually the software development industry is going to end. I absolutely disagree with that. That doesn't make any sense whatsoever to me. And so that being said, I suspect that you and I do have considerable common ground. On the other hand, I also know that you and I have vastly different experiences in background in the software space. And that probably is what leads to the disconnect we have on some of these cases. I did read your article and you know, I thought you said some useful things. I thought you said a lot of things that simply are not true in the experiences I've had. And we can certainly go into some of those. Kent C. Dodds (08:47.886) Hmm. Kent C. Dodds (09:00.014) Yeah, you know, that line was actually originally my opening line and I read it and I was like, that's pretty like hard, like pretty severe. In retrospect, I probably should have removed it because the very next line is like, whether that be the heat death of the universe or, you know, AI takes things over. that really isn't the focus of the article. But I think that the majority of people who had issue with it was that line in particular. Why don't you? Grady (09:07.289) Ha In retrospect, I probably should have reviewed it. Grady (09:25.449) Right. Well, but I can add it was a little bit alarmist in the sense because yes, could be one of these two extremes, but the notion of AI taking it over that hits hard because if you followed me on Twitter, you'll find that especially I've been blasting Dario of Anthropic. I love Claude, but I think Dario in particular and Sam and Elon and others are saying some absolutely outrageous false things. And you were very, very close to that, which is what bothered me about what you were saying. Kent C. Dodds (09:53.494) Yeah, you. Kent C. Dodds (10:03.644) Do you think, and actually to contextualize this further, you later posted a quote post of a Ted talk by Anil Seth that talked about the possibility for agents to eventually become conscious, which I think is pretty interesting. And in that world, maybe software development doesn't go away, but are we humans, the software developers in that case? So I'd like you to like add a little bit of color to that if you could. Grady (10:11.887) I'll have a fight in a minute. Grady (10:33.426) Well, let me correct you again, because that's not what I said. I didn't say agents might become conscious. Agents are certainly one piece of it. So two vastly different topics we're addressing here, software engineering and this one. Let's veer into the second one. Indeed, this is one of the themes of the computing documentary I've been working on. If you look at really from the beginning thoughts of computing. And I'm talking about going back to Leibniz and even before that, there seems to be something in us humans that compels us to build our own gods, if you will, or to make them our own slaves, to use that strong term. We would like to build things that are as intelligent of us, but we also fear they're going to control us. And so we'd like to control them. This here, I'm going to make a provocative statement here, and we can go into this in detail. Kent C. Dodds (11:07.762) Hmm. Kent C. Dodds (11:18.482) Mm-hmm. Grady (11:24.469) My research tells me that the mind is computable. Now I mean that very, very formally in the sense of the Church-Turing concept of what computable means. Indeed, every physical process appears to be computable and that has some deep philosophical implications. As such, know that sentient, we can conclude that sentience is an exquisite consequence of the laws of physics. You don't know all the laws of physics. Kent C. Dodds (11:40.690) Mm-hmm. Grady (11:53.474) This doesn't discount the notion that there can be other intelligences, but the intelligence that you and I know about and live and breathe and understand is one that came from that organic sense. But my experience in history and research tells me there's nothing about the organic substrate that makes it unique to consciousness. Now, that being said, I think we are a long, long way from doing though. I did. Kent C. Dodds (12:15.729) Yeah. Grady (12:21.530) I did an interesting film bit with who's the guy that played C-3PO Anthony Daniels. He asked me that very question and said, you're great. He, when are we going to have these kinds of things like a C-3PO? And I said, yes, the brain is, is, is a computable, but it's going to be generations upon generations. Agents, I believe are a piece of it. I believe that large language models are a dead end architecturally for a variety of reasons, but I think it's going to be a combination of a number of things. Now I don't have the whole answer, but. where my head is leading to me is to a combination of Minsky's Society of Mind, Hassabis's notion of world models, which really predated what LeCun was doing, the ideas of Baars's notions of global workspace, the ideas from Rodney Brooks on subsumption architectures, and likely Hofstadter's notions of strange loops. I think it's these three things come together. So again, I'm approaching the problem from the lens of architecture. from software and systems architecture, but also informed by what I know in neuroscience as well. And I think a lot of interesting things happening and I could probably get a billion in funding like Hassabis did, but I'm not interested in going down that path. So anyway, short answer is agents are a piece of it. Yes, I do believe the mind is computable. I believe also we are generations away from getting there. Kent C. Dodds (13:44.018) There are so many things I wanna double click on in that. But first of all, I would just wanna say like, we will make sure that all of those references that you gave us are links below. That's a lot of reading for people to dive into. Grady (13:46.446) Yes. Grady (13:57.368) Well, I like reading, as you can see the books around me. I've in my personal library here. I've got about, I like books. I've got about 6,000 that I've had for research that I have for research for the computing book. and behind me are the books dealing with creativity and computing. And I think the ones about computing in the mind are around the corner there. Anyway, I like to read. Kent C. Dodds (14:06.793) my. Kent C. Dodds (14:18.332) Wow, yeah, I love that. So one thing that you said that I wanna dive into as well is you suggested that the computable brain is accomplishable. So it doesn't have to be organic. I'm a religious person that doesn't go against any religious belief that I hold. It actually encourages it. But you also mentioned that this would be generations upon generations away. One of the things that I said in my blog post is that the leap that we made, granted with LLMs, in the last year was quite a bit more than I ever expected. And so it just completely obliterated my confidence in being able to predict the future and how quickly we will be able to advance and how far as well. I'm curious what makes you confident that we are still generations upon generations away from a computable brain. Grady (15:19.695) Sure. A quick aside, you mentioned your faith and I want to absolutely respect that and talk about it. I actually did an engagement with some of the folks at your church in Salt Lake City is they were evolving what became ancestry.com. Yeah. So we probably have some, you know, things we could talk about there as well too. Fascinating topic. In fact, one of the episodes slash chapters, I've got deals with computing and its intersection with faith. Kent C. Dodds (15:34.864) Wow. Kent C. Dodds (15:48.508) Hmm. Grady (15:48.582) And the notion of what the church of Latter-day Saints has done in this space, think is absolutely fascinating how it has impacted computing and vice versa. So anyway, that's a topic for another podcast you and I could have. So why generations? Kent C. Dodds (15:57.784) Awesome. Yeah. Grady (16:05.120) The mind is to use Gary Marcus's terms is a Kludge. It has evolved through evolution for millions of years. And there are many funny things going on in it. Things that are vestiges of prior times. We still have our, know, flee and fight kind of instincts within instincts within us coming back from our reptilian days. The architecture of the brain. Indeed, you can see it looks very similar to what the evolution of our species has been going way, back. So we know their influences, but we also know that there is an astonishing complexity at the level of the mind itself. And artificial neurons are the phrase I like to use is they are simply an echo of a whisper of what organic neurons are. They are a small, small bit. we, our human minds do not learn in the same way. spiking neurons are what our brains do and all reptilian brains do and they don't and that hasn't really been explored in the computing science field. A few folks have as well. The mechanisms of what we see happening with dopamine and the connections among the thalamus and the hypothalamus and the cortical cortex in particular, there are some architectures that evolution has created that we simply have not touched upon in what we're doing. If you look at any of the frontier large language models there, relatively, well, not relatively, they are astonishingly simple compared to anything that goes on in the human brain. Chat GPT is somewhere on the order of, I forget the exact number. It's some two digits of, of layers of, of neurons. And it's particularly wide because just so happens that actually optimizes what you're doing on a, on a CUDA platform with Nvidia. So yeah, evolution has shaped them as well too, but our evolution has not shaped us in similar ways. Kent C. Dodds (17:37.798) Hmm. Kent C. Dodds (17:56.263) Hmm. Grady (18:02.537) Every mammal has a cortical cortex, cortex, which is this layer of, six or seven or six or so deep neurons, just the edge of our cortex. And it's one of the things that makes you and I very, very different than any other organism in the world. And then the cross connections among them and the way those things connect to other parts of the brain, they are just incredibly complex. So we have only begun to touch upon that. I think that where Jan is headed with his, Kent C. Dodds (18:17.938) Hmm. Grady (18:32.883) is architecture is interesting. It's bringing in the ideas of world models, which is sort of a little bit of what we know about the brain relative to short and long-term memory, but it still misses these amazing connections that take place. So that's why I say we're still generations away. We don't yet know the mechanisms that control our neurons. We know it to a small, small degree. We don't yet know the mechanisms. beyond just the neurons that control our brains, the glial cells, the different kinds of neurons themselves. And so we need to have continuing conversations between the neuroscience community and the AI community, which tends to go off in its own little world a little bit, not understanding or caring about history. That's why I think we're still a long way away. Kent C. Dodds (19:14.822) Hmm. Yeah, I think that that checks out. even if we get tomorrow had some sort of breakthrough, I think that it's reasonable to suggest that maybe we're not generations and generations away, but we're within or far enough away that it's not relevant to our own life experience right now. Yeah. Grady (19:39.738) Could be, could be. But remember also things like large language models, they are focused upon language, which is really an ephemeral element of our work. Language is not intelligence. It happens to be a reflection or an echo of that intelligence. And so large language models find patterns within these, which is useful, but they're missing all the stuff below it. They're missing embodiment. They're missing the context of that, which is why, to be very clear, Kent C. Dodds (19:50.290) Mm-hmm. Grady (20:08.309) I think they're equally useful, but dangerous, and also they're a dead end. Kent C. Dodds (20:14.034) That tracks, yeah, that makes a lot of sense. Related to this, I kind of have two questions that need to both be answered together or one needs to be answered before the other. So the ultimate question I'm looking for is, do we actually need a fully computable artificial mind to be able to take over the implementation piece of what is software engineering? And the question that needs to be answered first is, what is software engineering? Grady (20:43.125) Sure. Well, and what is implementation? I would add to that as well too. Here's the mental model I offer to people. We have imagination which transcends the laws of physics. We as developers, however you want to cast that, we seek to build executable artifacts. I think that's reasonably non-controversial. And so we have to do things that move the gap or fill the gap or bridge the gap. Kent C. Dodds (21:03.922) Hmm. Grady (21:10.197) between our imagination and those artifacts. Would that be, would you agree that this is the case? Now, there are some things in that journey that are in the realm of computer science. The laws of physics, for example, I can't pass information faster than the speed of light. Quick aside, I was on a project with a certain government agency a couple of decades ago. It happened to be a global command and control system and Kent C. Dodds (21:14.812) Yeah, yeah, absolutely. Grady (21:36.984) They had certain requirements where I politely pointed out to them in order to do that, you have to violate the laws of physics. They didn't like that idea because their requirements certainly, you know, we have enough money. We can do that. No, you can't. You can't. This is the, this is the realm of computer science. And it's also the realm where we see a lot of work going on in quantum computing because this address addresses NP problems. Let's dive into that for a moment. You and I generally don't have to worry about NP complete problems because they're not within the domains in which we work, but there are real issues that organize some organizations have to deal with things like what's the optimal path for Amazon to ship from here to there. That's an NP complete problem. So you can get it as close as you can. And so computer scientists will focus upon those things to help move us forward to the next part of that journey, which is algorithms. A good example of this is the Viterbi algorithm. which is the core of what happens in cell phones. So the world of electromagnetic spectrum is noisy and it's messy and lots of interruptions. So if I want to have a cell phone with relatively low wattage and I want to connect it to other kinds of cell phones, we understand we can build a grid for it. But how do I transmit a signal in a way that I can extract the signal from the noise to use an interesting phrase and the Viterbi algorithm, which we can talk about FFTs and these kinds of things, which come from the realm of computer science. This is the algorithm that was understood theoretically and eventually moved to an algorithm. So we're now beginning to talk about software engineering, which is bridging theoretical things into things we can cast as an algorithm. Now, not every software engineer has to deal with that. Some do, and it's part of their job, but how do I make the best algorithm for this? Kent C. Dodds (23:21.084) Hmm. Grady (23:29.727) In the earliest days of the Macintosh, example, Bill, his name, last name escapes me at the moment. The problem is you had a very, very limited computational power. How do I draw black and white things on a screen? And he came up with an algorithm for BitBlt, which was a really clever way for managing bit patterns on the screen itself. Would I call him a software engineer? You bet. He wasn't a computer scientist. but he learned how to take those ideas and manifest them in an algorithm. So now we have these collections of algorithms. And the great thing is, you know, we have, we sort of know, well, not sort of, we know a lot of algorithms. solves a large number of really interesting problems. The next step though is bringing those together and the data into some meaningful form. And now we're in the realm of architecture. I'll give you my spiel on this. What is architecture? Kent C. Dodds (24:19.195) Mm. Grady (24:24.124) All architecture is designed, but not all design is architecture. Architecture represents the set of significant design decisions that capture, that reflect the significant design decisions that capture the needs of the form and function of that system, where significant is measured by cost of change. So your significant may be different than my significant, but nonetheless, that's what architecture is. And in many cases as well. Kent C. Dodds (24:49.212) Hmm. Okay. Grady (24:50.974) Your architecture may end up being a small subsystem in what I'm doing. Large language models are just a piece of what I do. So it's like, yeah, Hey, that's great. you guys go make them better for me and I'll keep using them, but it's simply a subsystem. That's architecture. And now the software engineer is in this space because he or she must say, I see my problems. I see the data I have. What's a reasonably optimal way to organize these things so that it can be durable. And now we're. fully in the realm of what a software engineer is. Another metaphor I use is like engineers. If I am a structural engineer, I'll step back and tell you a story. I was in Paris some years ago and the local Parisians said, look at this wonderful building and it's the new library for Paris. And I came back a little bit later. said, dude, by the way, we made a mistake when they built this. They forgot to calculate the weight of all the books in it, which was structurally problematic. Yeah. It's like, you know, that's That's tons upon tons. So even those kinds of engineers have to deal with both static and dynamic forces. The same is true of a software engineer or systems engineer. There are a number of static forces like what's my computational platform? I'm constrained about this. What are the dynamic forces? How many users do I have on this kind of thing? And so in this wheel of forces, you've got, you know, some things like compatibility. I've got to work with this legacy system. Kent C. Dodds (25:56.593) Hmm. Grady (26:17.684) I've got to work with this language because they told me to do so, or the libraries are in it. I have a development team of this size. There's cost scheduled budget that impacts me. There are also increasingly legal issues. I can't do this because there are patents on it and I don't want to do that patent. And more and more so as we get to the end of things here, there's a problem of ethical issues. We'll come back to that in a moment. So that's architecture. Kent C. Dodds (26:41.906) Mm. Grady (26:43.272) Next thing up is if I am not building disposable software, then I've got to deal with about the organization, meaning it's going to endure beyond me. There are things that you and I could do individually, which is great. But if I want to turn this into something real, I need to hire people to work with me. And furthermore, it needs to work beyond you're in my lifetime. It's going to be durable. And so that leads to organizational issues. Another story. Kent C. Dodds (26:53.255) Right. Kent C. Dodds (27:06.087) Mm. Grady (27:10.572) I was brought into Facebook at a time when, when Zach had everybody who still fit in the same room. And I remember visiting their labs. It was in the Bay still. And, uh, these people never slept. said, seemed, and I walked in and I realized, Oh, who does this? We're responsible for, you know, login. We're responsible for the database. It was a person for it. And I observed to their development manager, Zach wasn't there at the time said, You guys are to have a real problem once you acquire your first company, because you're no longer going to fit in the same room. So there are issues of scale you've got to worry about. then, and then beyond scale, you've got to deal with economics. I can build things, but I may not be able to afford them. I could, you know, I could build a system that, for an assistant for every person, but as Anthropic and others are finding really nice stuff, but Kent C. Dodds (27:46.236) Mm-hmm. Grady (28:03.190) Hey, I'm losing money on every sale here. So it may not be durable for me. And then lastly, as we alluded to, there are the ethical issues. There are things that I could build and we could get into a discussion about a luckiest company and the like. There are things I could build that perhaps I shouldn't necessarily build everything except that first bit of the, of the laws of physics. That's in the realm of what I think a software engineer worries about. Now, the reason I think you and I have some disconnect. Kent C. Dodds (28:19.708) Mm-hmm. Grady (28:32.512) is because you tend to work, correct me if I'm wrong, you tend to work in smaller projects that are mostly user facing where I'm dealing with systems that, you know, they're truly global. We're talking multi, multi computers, multi other kinds of systems they interact with and people die if they fail. So I'm not sure if that's in your experience. So in my world, Kent C. Dodds (28:55.537) Hmm. Grady (28:59.244) What I just described to you is the full spectrum of what a software engineer needs to deal with. But there are other worlds, I expect, the software engineer has a very different role, and I respect that. Kent C. Dodds (29:03.751) Hmm. Kent C. Dodds (29:09.220) I appreciate that you taking the time to explain that perspective. I have never built anything that would kill somebody if something went wrong or even architected anything like that. The biggest stuff that I worked on was when I was still at PayPal years ago. so yeah, I've built software that's used by millions and contributed to open source that's used by pretty much everybody. But yeah. Primarily, you're correct. I work primarily with software that's used by a smaller number of people. And in recent years, it's mostly just been just me on it. So I'm curious then. Grady (29:48.587) Can I add for a moment? There's another visual that I think could be useful. It's sort of three axes. And this is why mileage may vary among others. There's one axis which says risk. So there are some things that are no risk. If this fails and, you know, hey, I didn't get that tweet, you know, big deal, I'll rail it Elon. So that's low risk. High risk is, you know, civilizations die. That's really high risk. Another aspect says, what is the Kent C. Dodds (30:13.785) Hmm. Grady (30:18.639) what is the, complexity of this thing? If I'm doing this over and over again, and this is why, agents such as Claude work well, there's a lot of training information that says, I know how to build this stuff. And so I'm building variations based upon my particular need. They aren't really hard because others have come before me and there's a lot of software there. And so it's useful, but I don't need to apply as much discipline. And the last one is complexity. Kent C. Dodds (30:44.112) Hmm. Grady (30:46.027) There are many kinds of complexity. One is that of scale. As you mentioned, your stuff has been deployed globally. That's great, but that's a different kind of scale that's more at the deployment level than it is at the front and architectural level. Where if I'm dealing with scale like I'm now trying to coordinate the activity of a swarm of 10,000 drones that are going to be anti-attack drones. Kent C. Dodds (31:11.506) Mm. Grady (31:13.599) very different kind of scale. So it's those three axes that also give us a place that you and I and others, you have to figure out where do we live in that 3d space because we'll have different experiences and also we'll apply different approaches. Kent C. Dodds (31:28.282) Absolutely, and I think that this accounts for so much of the disagreement that we see online is, of course, there's semantics, but then also just the world that we live in. So it does sound like we're in alignment that parts of software engineering are already replaced by agents. What are the parts of software engineering that you think... are really durable and we'll have to wait till these generations upon generations for humans to be replaced. Grady (31:59.509) to quote a line from the Princess Bride agents, you keep using that word. I do not think it means what you think it means. So let's talk about agents because agents are a piece of what's happening. much to anthropics dismay, of course, the front end of Claude was released. There's this brilliant analysis of it in which you'll discover they use a lot of agents. and as I understand agents, especially from Minsky side, most of the agents that are taking place right now are extraordinarily naive and that they're sort of I fire them off with information and they do things they come back But that's one architecture most of them are hub-and-spoke kind of things There are other kinds of architectures that have different kinds of work orchestration So while I value the idea of agents they are not a thing unto himself and keep in mind also that agents are largely symbolic in nature rather than neural in nature. They tend to be the thing on top of neural networks, the large language models that help orchestrate stuff. So we're now going back to the second golden age of, of software, of, of, of AI, which is the idea from, from the ideas of knowledge bases and the like. And so, and also the ideas from software engineering of just, you know, pure symbolic kind of stuff. So be careful about agents. think you may put a little bit too much magic pixie dust on them because they're useful, but they're not also an end of themselves. We're missing the notions of orchestration. So anyway, that being said, let's both agree that, wow, things like Claude, that's pretty freaking awesome. And it's very, very useful indeed. Now let me tell you my workflow with Claude. I don't trust it. In fact, I don't, I know that I don't trust it cause it screwed up on me a number of times. Kent C. Dodds (33:41.266) Mm-hmm. Grady (33:51.559) and broke some work. I also know certain smells when it is going off the rails and I say, just stop. You, you don't get it. We're, this is fruitless. And so we're going to give up here. and I use we carefully because there is no we it's, I hate anthropomorphizing and things. It's just me and it in that regard. Nonetheless, but remember the difference here. Kent C. Dodds (33:53.169) Mm-hmm. Kent C. Dodds (34:10.032) Yeah. Grady (34:17.747) I'm very experienced in this space. I know the smells of what is it and what isn't. And therefore I can remind this agent to say this, this Claude to say, by the way, let's clean this up. Cause I know you did some things here that were wrong. Let's refactor this. So at least I have tremendous control over it. I view, I view Claude is, is really a junior overly enthusiastic programmer who really wants to do the best. Kent C. Dodds (34:38.534) Mm-hmm. Grady (34:47.935) But man, they just don't even know what they don't know most of the time. So I had to be very careful. That's why I don't use Claude code because I don't trust it upon my code base, even though I use Git, cause it, it's already done too much damage for me. I'll have a conversation with Claude and then I'll do the implementation. Do I look at all my code? I'd say most of the code I look at, it's not like I look at every line, but I know to trust it because more than once. Kent C. Dodds (34:51.538) Hmm. Kent C. Dodds (35:06.791) Hmm. Grady (35:15.797) Well, pretty much every time Claude puts in things that a it shouldn't have, they were terribly messy or for that matter, they put in things that I know from a security basis were just utterly wrong and dangerous for me. That's why I check all my code itself. We're not there yet. Kent C. Dodds (35:30.694) Yeah, okay. Yeah, yeah, so that leads into my next question. Clearly you feel like LLMs are not the end, and I agree with that. So what is the ceiling in your estimation for LLMs and their ability to, to use a metaphor, eat the implementation side of the software engineering that we've talked about? Grady (35:57.067) Well, let's talk about that word implementation. Cause this is one that we may not have a common agreement upon. people have often said, or people, not people have often said that sounded very Trumpy. And many people have said, sir, they've, they've said to me, gosh, but what you're arguing about, we've dealt with with compilers. Well, yes and no, but remember compilers are very different beast because compilers are deterministic, unlike large language models. Kent C. Dodds (36:02.258) Mm. Kent C. Dodds (36:08.850) Haha. Grady (36:27.103) compilers have a particular formal input and a formal output. Large language models do not. They are, you are basically giving it a prompt that gives you a, basically it points you to a part of a latent manifold to go a little bit deeper. And then the large language model begins to wander about with that and you as the human poke it and probe it in certain ways. And oftentimes it's close enough for certain things and that's okay. So that's very different than what compilers are. Compilers are implementations. I don't look at the source code. Although frankly, there are some domains that do. In early NASA work I did, they actually did tests against the compilers and the output they generated because we didn't trust compilers back then. We do now. Will we ever get there with large language models? The fact that they are non-deterministic, the fact that we know that they They can confabulate. I'm not going to use the word hallucinate because that's anthropomorphizing as well too. They, and the fact that they have no grounding in truth says that they will forever be untrusted. Now I can put things around them. This is why I speak of large language models as unreliable narrators. They are forever and always will be unreliable narrators. But in so far as I can blanket them, then at least I know when they're they're not saying true things. And that's why, yeah, I can use them, but I always have to put guardrails upon them. Kent C. Dodds (37:55.909) Hmm. Kent C. Dodds (38:00.646) Yeah, okay. what I find interesting is those three things. I actually forgot the word used instead of hallucinate, because that's not a word I'm familiar with, confabulate, yeah. So they're non-deterministic, they confabulate, and they're not grounded in truth. And I thought, you know what? That's humans too. Like humans have these same foibles. How is it different? Grady (38:08.618) Confabulate. Confabulate. Grady (38:18.954) I disagree. And I think in saying such a thing as you were disingenuous to the beauty and wonder what humans are. Some of us do, but we have the capacity to go beyond that. Large language models do not have that capacity to do so. Now, certain presidents might not have that capacity, but we won't go there. you know where I stand in this matter. But by and large, the human mind, I think, is something that is elegant, beautiful. Kent C. Dodds (38:38.962) Yeah. Grady (38:48.560) wondrous. And so yeah, you can point out the human brain does it, but we also don't always do so nor, and furthermore, we have the capacity to not do so. That's what distinguishes us. Kent C. Dodds (38:58.706) I honestly, I love that perspective and that I agree that the human mind is a brilliant and beautiful creation. And it also makes me feel good. So I'm good with that. So. Grady (39:14.346) Well, I'm optimistic. I'm optimistic, unlike the Elans and others of the world who think, you know, we're going to die, the doomerisms. think they're, I'll politely put it, they're like flaming idiots in believing such a thing. And they vastly underestimate and diminish what it means to be human. And that makes me sad. Kent C. Dodds (39:32.902) Yeah, well, your perspective there makes me happier. So that's good. So I do want to get back to this question of what skills in software engineering are durable skills, regardless of where you are inside of that, this vast space of what is software engineering? What are the things that you think will be least replaceable by AI, whether they're LLM powered or not? Grady (40:00.956) In your paper, you, I think, touched upon the edge of exactly what I would say. And that's the notion of judgment. Now, the problem I had with you talking about judgment is that judgment is not. Not limited to what software dinners do. It's in every human that touches an artifact that comes out of that world. Judgment is relevant to them. And this is why I often also say that every line of code represents. Kent C. Dodds (40:22.214) Hmm. Grady (40:29.330) an ethical and a moral decision. It may not look like it, but the fact you choose to work at a certain company, the fact you choose to make these design decisions, they may look like, I was just doing, you know, I was just doing what I was told to. Well, the Nuremberg trial tells us what a poor argument that is. And it also is a relinquishing of our humanity if we move into that direction. So every one of us has a sense of judgment. What's different for me about a software engineer Kent C. Dodds (40:31.836) Mm. Grady (40:58.278) is that we have judgment that is informed by a particular kind of experience. It's informed based upon our knowledge of computer science. It's informed based upon our knowledge of algorithms and architecture and the human issues. These are things that a large language model, certainly today, is not informed on. They are informed upon pieces of it. But the human, think this is something unique about us. that will not be replaced in any particular time. And this is what I think it's a glorious time to be a software engineer, because now these tools allow me to outsource, if you will, things that are really boring. I don't want to look up again, how do I make this call to this library? I'll give you an example. I'm doing a really interesting project for the computing project. There was a gentleman working with a museum in England. He built a site called Kent C. Dodds (41:39.014) Hmm. Grady (41:53.866) Victorian engineering connections. You can look for a person like Ada Lovelace and you touch it and it brings up her social network and all the things that surrounded it. As part of my research, I've collected what, 512 people, 256 artifacts, 120 other organizations, and 64 concepts that I consider central to what computing is. And I basically found on the order of 10,000 connections among them. Things like, did you know that Ada Lovelace was friends with Mary Shelley, who wrote Frankenstein and the likes. Charles Dickens and Charles Babbage were friends as well too. It's these kinds of connections. Stibbitts, who invented the idea of relays and bringing it together with Boolean algebra. He became a painter later on. Lots of interesting connections. Anyway, I use the D3 library. Great library for these kinds of graphic things. I wasn't gonna spend days learning it. But so I went to Claude said, I need to do this. Go tell me what I need to do. So here's a great example of where it knows things and it's frankly faster than Google search because Google has really fallen on its face with search. And so Claude is much better for me. So, Hey, that has helped me. And that's why these things help. But I, a software engineer, there are things that I know in my judgment, the smells I have that Claude will never have. Kent C. Dodds (43:18.962) Yeah, and these are the sorts of things that you develop simply through intentional, a lifetime career of intentional software building. Grady (43:30.548) Well, intentional building and experience, but also limitless curiosity. Many of our peers get siloed into particular domains. I know how to build this kind of thing, this UI, which is great. We need people to do such things. But I urge my colleagues to say, go study the architecture of other systems. Go look at the source code for Wikipedia, which is out there. Go look at the source code for MacPaint. Kent C. Dodds (43:36.933) Yeah. Grady (43:58.269) which is available. Go look at the source code of the kernel of Linux and you'll discover that there are minds who have built these things from very different constraints and contexts. And you'll learn remarkable things from them. It's, this is why being a software engineer can be decoupled. Being a good software engineer cannot be decoupled from being fully human. That if you have this curiosity, if you expand yourself beyond just this narrow place in which you're in, it's a beautiful world. Kent C. Dodds (44:26.854) Curiosity is an attribute that keeps coming up in this podcast series. Don Norman also brought that up as well. Just fantastic way to wrap things up. I know we've got to get going here. So Grady, you're working on several projects right now. What is the best way for people to reach out to you or keep up with the things that you're working on? Grady (44:33.929) Mm-hmm. Grady (44:50.953) Follow me on Twitter or follow me on Blue Sky. I will respond to polite questions and things like that. I am for the most part not doing a lot of things like this or speaking because I'm really trying to get this book out. Short story here, we worked with PBS a few years ago. I and the Computer History Museum, we pitched the idea of the series to PBS. They loved it. They said, you know, go forth and find yourself a producer. I worked with for a bit Ron Howard and Brian Grazer and then the good folks at Ridley Scott reached out to me as well too. Then COVID hit. So I'm trying to bring that back together. This year, among other things and the writing, I'm trying to do another teaser and trailer that we can pitch to Amazon, Netflix and Apple to see if we can get some work on this going. So yeah, I write software and maybe I'll get my SAG card one of these days. Kent C. Dodds (45:46.832) Wow, that is awesome. I wish you the very best of luck with that. The last thing here, Grady, is I like to give people something specific that they can do. We don't just listen to the episode, now we go and do something about what we listen to. So what's a good homework assignment that you can leave with people that they could write down on a Post-It note and then check it off when they finish? Grady (46:06.545) One of two things, go read the source code of some system completely foreign to you. The Computer History Museum has a large repository of those kinds of things, of old and new code itself. And second, go read a book for goodness sake that's outside of your domain. Go read something like Herbert Simon's The Sciences of the Artificial Systematics by John Gall. The ideas from Marvin Minsky, which again, I gave you whole list of things. We'll get you the books for those or links in a bit. Go read any one of those. If you want to blow your mind the world, this is an exciting time to be a software developer. It truly is. Kent C. Dodds (46:43.920) I completely agree. Thank you so much, Grady. I really appreciate your time. And I'm sure that everybody listening also is saying thank you. So thanks so much and we'll see everybody in the next one. Grady (46:55.546) My pleasure. Thank you, Kent. Kent C. Dodds (46:57.540) Bye!