WEBVTT

0:00:00.000 --> 0:00:33.696
<v A>Programming Throwdown Episode 93: Journey to Programming Mastery. Take it away, Jason. I have Andy and Dave Tech Enthusiasts here to talk about their book, The Pragmatic Programmer, and this is a new edition of a book that's been around for a while, correct?

0:00:34.270 --> 0:00:37.257
<v B>20 years! This is the 20th Anniversary Edition. Totally.

0:00:37.577 --> 0:00:48.681
<v A>Awesome. So why don't you go into sort of your background and what sort of inspired you to write the original book, and then maybe what inspired you to revisit some of the things you talked about 20?

0:00:49.390 --> 0:01:37.939
<v B>Years ago. And we only have an hour, right? Yeah, that's true. I mean, you know, Dave and I could certainly give the long answer to that question, and we'd be here all day. So we'll try and give the quick version because I think a lot of people have heard this by now too, as we've been talking about the new 20th Anniversary Edition. But this whole book came out—we really didn't intend to write a book. It was kind of an accidental book. We really just wanted to write a white paper for our clients at the time. So Dave and I were out doing consulting and noticing things people were doing out in the world, out in the workplace that, wow, that really hurts. That's painful. You know, there's a better way. Have you tried thinking of it this way? Have you tried experimenting with this? Have you tried using this technique? So what is?

0:01:37.939 --> 0:01:47.912
<v A>What does 'painful' mean? Is it painful in the sense that you paint yourself into a corner and now you have to rewrite everything? Like what would pain be when you're doing software development?

0:01:48.199 --> 0:02:58.028
<v B>Well, I think you have to think back to the '90s. And I know most of your audience probably wasn't born then, but the feeling in software in the '90s was one of really quiet desperation. Nothing seemed to be working, and the quality of software that was being shipped was honestly pretty much abysmal. And that was assuming it got shipped in the first place. The majority of software projects were cancelled before they even got to the end. And a lot of the reason for that is that people were kind of floundering; they were taking on things without really knowing what they were doing, and then they were following some pretty random practices. So we were finding clients who were shipping software out to the client, out to their clients, without testing it, or who were not keeping their source code in version control. And so as a result, you know, it was like whose machine did we use last when it comes to like trying to reproduce a bug? Or we actually had one client who had—I think it was like 15 developers—and each one of them, we actually asked them all to build their product, and no two builds were the same.

0:02:58.028 --> 0:03:06.955
<v A>You know, this is kind of sad, but I've heard recent stories that sound just like this. Oh.

0:03:06.955 --> 0:03:50.087
<v B>It yeah, it hasn't gone away, but I gotta tell you, I mean compared to 25 years ago, we're in a much better state. We really are. That's good. So yeah, we were working with clients who were in that kind of—I mean, typically you don't call a consultant team when everything is going well, right? So we were working with clients who were in that situation, and we always found ourselves saying exactly the same fundamental things: you know, testing, version control, automation, talking to the customer. You know, we're taking small bites, not trying to take on too much at once. Just try this one little thing, then try this next one little thing. Yep. And

0:03:50.324 --> 0:03:53.074
<v A>That also means learning from each of those little things. Oh.

0:03:53.344 --> 0:04:14.033
<v B>Absolutely. Yeah, it's no point in feedback unless you actually listen to it. So we sort of jotted notes down, and it grew a little bit. We got to—I don't know, 50 pages or so of notes. And the idea came through, you know, we should probably write a book because this material is, you know, it's common sense, but it's not commonly

0:04:14.033 --> 0:04:26.790
<v A>Used. So how do you go about or how did you go about? Because that's a completely different discipline. You have all of these notes, but how did you go about finding a publisher and things?

0:04:27.111 --> 0:05:38.138
<v B>Like that well, so that's a funny story. They were a little bit more than notes even in the earliest version. I mean, we had kind of notes, but we had started writing them up in kind of a prototypical tip format, like, 'Okay, here's an idea. Here's how you should do this. Here's this other idea.' So we kind of had a structure to it right out of the gate. And somebody recommended—I think it was my one of my brother-in-laws at the time—said because we knew nothing about writing books, we didn't know how to proceed with that at all, but somebody suggested you go to your bookshelf and see the books that you like, what is what's the publisher that you were attracted to for professional titles in your area. And so Dave and I looked dutifully, and we both had a significant collection of Addison-Wesley titles. They were pretty much, you know, the premier source for computer science software development titles at the time. So we kind of randomly looked up the contact person and sent them an email and said, 'Hey, we got this idea for a book.' And they said, 'Sounds great! We'll sign you.'

0:05:38.914 --> 0:06:00.160
<v A>Up. That's awesome. I've heard so many stories like that. Um, I think I mean one of the famous ones is I think um Steve Jobs emailed the CEO of HP and asked for a computer or an internship or something like that. But yeah, it's fascinating that you know that really worked out well. You just did some research, found the right person, and that's awesome. Yeah.

0:06:00.447 --> 0:06:47.190
<v B>And then it took us two man-years, two and a half man-years worth of work. No, no, no. It's more than that. Well, it was—it was well, more than that because it was actually almost two elapsed years. That's true. It was almost two calendar years of both of us working just about full time. You're not out consulting, not doing any paying gigs, just you know sitting there concentrating on, 'Okay, is there a better way that we could explain this? Could we make this clearer? Is there a better word we could use here?' And literally Dave and I would argue over individual words to try to get our point across, you know, as best as we could. It's amazing how often Andy was wrong. Amazing what memory does to you over time. So yeah.

0:06:48.726 --> 0:07:00.724
<v A>I wonder if you had some metrics from 20 years ago? Maybe you could see, you know, maybe the coin is flipped now or the other side or something. Well, he was right the whole time.

0:07:01.349 --> 0:07:50.370
<v B>It's interesting because when we started this um this rewrite project, both Dave and I went away and said, 'Okay, let's just make a list of what you think are the most important changes over the last 20 years. What are the topics that we have to revisit? What do we have to scrap? What do we need to introduce that wasn't an issue 20 years ago?' So we each went off separately and made a, you know, made these lists and came back and, you know, put them together. And we were within, you know, probably 80 percent of what we had each come up with was exactly the same. So we were very much on the same page. Yeah, this—this is a problem now; it wasn't a problem then. This was a good idea. We don't need to talk about that now, you know, whatever it was. Um, so we really had a great starting point to go through and begin to revise the text. Yeah, I definitely.

0:07:50.691 --> 0:08:00.715
<v A>I want to take a bookmark on that, but I think let's—let's go into like basically what is a programmatic programmer? What are people—what should people expect when they when they open this book?

0:08:01.069 --> 0:09:51.027
<v B>They should expect to get better at programming. All right. So what does that mean? Okay, so the thing is that programming is something that you have to do consciously. Um, and a lot of people fall into programming somehow, and it becomes a job, and they—they do their work and they go home, and it kind of like carries them along. And it's one of those industries where you can be carried along, but if that's all you do, you're never going to—you're never going to really enjoy it, uh, and you're probably never going to progress as far as you could have progressed in terms of satisfaction in the job. So what we are recommending is to be more conscious of what you do as you're programming with an with a view to becoming a better programmer. Uh, and so we have a whole bunch of separate topics that we talk about. Some of them are are people topics, um some of them are team topics, and some of them are technical topics, and it's probably about a fairly even uh division between those. And with each of them what we try to do is to say not 'You should do this,' but instead we list alternatives and we suggest that you should try things. And with everything we suggest, what we're saying is we aren't—we aren't in your environment. We don't know what you're doing. We don't know how you're doing it. But our suggestion is you might want to think about this and this and as you try them, gather feedback and work out whether or not that's improving or making things worse. And that's the pragmatic part of it because 'pragmatic' fundamentally means doing what works. And so we have a list of suggestions and a list of I guess things from our experience, and then we say to people, you know, 'Your mileage may vary.' See if.

0:09:51.027 --> 0:10:08.780
<v A>It works for you? Got it. But but also your mileage may vary. But also you've—you've firsthand, you know, tried a lot of these different strategies and policies uh in your consulting work, and you've sort of picked and choose the chosen the best, you know, approaches.

0:10:08.780 --> 0:11:29.543
<v B>Well, no. I see. Yes, yes. And no up until you said that last phrase, then I would say yeah. I mean these are all things that we've done because I really, really dislike consultants who go around telling people how to do things that they themselves can't do. Um but when it comes—well, I have a story. I was on a bus going to a conference in India from the airport, and I was sitting in the seat behind two fairly well-known industry experts on agile stuff, and they were talking, and one of them asked the other, 'When was the last time you programmed?' And the other guy said, 'Oh, I think it's about 15 years ago or so.' You know. The guy said, 'Oh yeah, me too.' And it's like these are people that are going out and telling programmers every day how to program better, and they couldn't code their way out of a paper bag. So you know, that's—that's really bad. Um but when you say best, we don't actually believe that there is a best practice. We don't believe there is a best way of doing things because 'best' is always going to be contextual. Yeah. And so you know what's best for my environment could be totally wrong if I'm making pacemakers and you're making video games, then I very much hope that our two development methodologies are very, very different. Yeah. It's

0:11:29.897 --> 0:12:00.019
<v A>similar to, you know, my PhD was on playing computer Go—having computers play Go. And there isn't, uh, I mean technically there's a perfect game of Go, but it's it's it can't be found, and it's not very interesting. But what's really interesting is starting from random or starting from a not very good player and being able to get better and being able to iterate, and while you're iterating continue to move in the right direction. I just like this is—this is similar. Yeah.

0:12:00.323 --> 0:13:58.260
<v B>That's that's what it's about because I think one of the kind of foundational things that we misapprehend about the industry is just how dynamic everything is. You know, people tend to take a very static view of, you know, like you said, like 'A best practice.' Okay, I've learned this now; this is the best way to do it. This is what I'm going to do from here on out.' That's a very static viewpoint, and it's wrong because as soon as you say 'best practice,' you're missing half the statement: 'Best for who? Under what circumstances?' You know, in what context? What are the parameters around that? We don't get around that. We get this kind of static view of, 'Oh, I'll just do this one thing,' or 'I'll just learn, you know, this one programming language.' When we first when the book first came out, one of the tips in it was to help keep your knowledge up and to keep learning and to appreciate different ways of solving problems. We advocated you should learn a new programming language every year, just, you know, something random. Learn a new—you don't have to use it in your job or a project, but just learn a new language and see how they approach different ways of solving these sort of common problems, different techniques. And you know, we had people come up and say, 'Well, that's a great idea. I love that.' But what do you do after the first three years? Because like yeah, you know there's only—I mean the only programming languages are, you know, pick some subset: Java, PHP, uh, you know Python, whatever. Pick some subset. It's like there's hundreds and hundreds of, you know, some of which are really quite bizarre and quite interesting. But even the, you know, like what's the TIOBE Index there? You know, the top 50 on that are pretty interesting. Yeah, actually, you know I would disagree. I mean, I agree up to the—up to the TIOBE Interest Index thing because what that captures is what's current in fact, not even what's current; it's what was hot over the last six months, and that is basically if you're doing that then what you're doing is you're

0:13:58.260 --> 0:14:29.667
<v B>aiming at a wave that's already crested. Well, yeah, it's a trailing indicator, but it's something. Yeah, yeah. I mean coming back to languages, it's—it's not the language that's important. And I mean the point that we both make a lot is that anybody who says 'I'm a Java programmer' is actually saying 'I'm an idiot,' because you're not a Java programmer or a PHP programmer or a C programmer or a JavaScript, or even worse nowadays, 'I'm a React programmer.' Right? It's like saying

0:14:29.667 --> 0:14:33.480
<v A>I'm a table carpenter. Right? I just make tables. That's it.

0:14:33.480 --> 0:16:31.600
<v B>Oh, I'm a table carpenter slash Saw division. Right? Yeah, right. I'm a hammerer. Yeah, yeah, exactly. And so you're not—you're not a—you're a programmer. And so what learning languages does, if you choose the right languages, is give you more depth in your craft. You get to experience different ways of thinking about a problem. So for example, I'm right now, I got talked into doing a—I'm doing a class down at SMU here in Dallas, so I'm teaching juniors and seniors. The class is called Programming Languages, and so I'm taking that as an opportunity to basically blow their minds by using languages from the 60s and 70s and showing them that in fact those languages were actually as capable, if not more capable than 90% of the common languages today. Yep. And you know, it's—and it makes them think differently. You know, so I've taught them Smalltalk, and that kind of blew their minds. This week, in fact, in about three hours time, I'm going to teach them Prolog, and I can pretty much guarantee that that is going to open a few eyes. You know, and then what you can do is you can then look forward and look at languages that have, for example, pattern matching today or languages that reify their parameters and say, 'Oh, I see where that came from.' Now, you know, uh, you can look at comprehensions and say, 'Ah, okay. I understand now why a comprehension is useful.' Um, so I think there's a lot of history and a lot of depth that we ignore. I mean, if you're an English major, then you don't spend your time writing; you spend your time reading. I mean, yeah, you're right, but I mean 90% of what you do is studying great works and not so great works and learning to be critical. Whereas when you're a developer, you spend no time reading the history and you spend no time exploring the depth. You know, there—there is nobody talking.

0:16:31.600 --> 0:17:21.404
<v B>About Jane Austen's of programming. Well, and you know why that is because most of the works that we see are not Jane Austen; they're more along the lines of it was a dark and stormy night. But you know what? Suddenly a shot rang out. Yeah, yeah. But back—even back then, that was 90% of the work, right? And what happens is history is a really, really good filter. And so if you've heard of somebody from the 19th century or the 18th century, then the chances are you've heard about them because they are better; they've risen to the top of that foam of noise. And the same thing is true for programming languages. I mean, you know Smalltalk and Prolog and Algol 60 and all those kind of things weren't the only programming languages back then, but they're the ones whose names have lasted because they actually have something to teach us.

0:17:21.404 --> 0:17:55.964
<v A>Yeah, I think—I think it's one of the interesting things about programming is it's a science and an art. Right? So if you look at for example science, people aren't going back to, um, you know, eighth-century theories on on the universe and on physics because science just kind of marches forward and obfuscates things as it goes. But art—art is a bit more timeless, and and and people still refer to the best when they say the best poet; they still refer to Shakespeare, who is, you know, so many centuries ago. I don't know. I mean, so in this case, you have both: you have a science and an art.

0:17:55.997 --> 0:19:49.500
<v B>But math—see, I got—I got two things there. First of all, mathematicians do go back. I mean, people are still arguing about Euclid's fifth postulate, right? And yeah, that's fair. That's fair. People are finding uses for Diophantine equations in quantum physics. You know, there's all these kind of weird things that you know if you don't have the knowledge of the past, you don't know if you're missing something. The second thing is it always worries me when people say 'Is programming engineering? Is programming science? Is programming art?' Because nobody ever says, 'Is math basket making?' You know, it's—it's Math. It's Mathematics. Is what it is. Why can't programming be what it is? Well, I—I think the reason for that is, and I agree, it's it is a problem because people are always trying to draw some kind of metaphor and say, 'Oh, programming is it is engineering,' or 'it is just like building a house,' or 'it is just like, you know, whatever fill in the popular metaphor of the day.' And it's—it's none of these things. It has aspects of many of these things, but you know fundamentally if you think about it, the—the essential problem I think is that it's all it is about thinking. It's about how you think of a problem, how you visualize it. You know, this whole idea of how do you abstract a problem and what parts you use and and what are the how these parts going to cooperate to solve the problem? There's no physics that guides that. There's no chemistry behind that. There's no laws of gravity. There's—there's nothing to sort of bound us in and say, 'Well, you know, clearly it has to be this way,' or 'it's not going to work.' You can do it any old half-assed way. Um, you know, you can do it very procedurally in PHP. You can do it in a very O style, and in a—in a real O language like Smalltalk. You could do a functional style.

0:19:49.500 --> 0:19:58.155
<v B>And none of these have any kind of physical constraint or physical analog. It's literally just how you think about it.

0:19:58.847 --> 0:20:29.712
<v A>I think that the constraint becomes really, you know, your time and your mental capacity of yourself and your team. Um, and and and how that evolves as the project evolves. Like as the project evolves, does it get more and more, um, you know, just—just mentally demanding to the point where to change one line you have to, you know, consult five people or have you sort of factorized it and has it become more elegant? But the constraint always seems to be a constraint of the mind and a constraint of the developer time.

0:20:30.235 --> 0:22:29.679
<v B>Is—it's definitely a constraint of the mind because one thing that happens the longer you're on a project and the more you're working with it, the more you're learning, the more you're realizing what you should have done in the first place. Right? You know, it's—it's like this graph that starts off, and at the very beginning of the project, you know zero about it. You know absolutely nothing. Maybe there's a project title, maybe there's a name, you know who else has been hired for the team, but you know almost nothing about it. You know the most about a project—about how it really should work and how it should have been done after you've shipped it, right? When it's all said and done, it's like, 'Oh, okay. Now I know enough about it. Now I realize, you know, maybe what we should have done better.' So, okay, great. That's sort of how the real world works. Well, what can we learn from that? We can say that well, you'd like to make your most critical decisions as late in the process as possible because the longer you wait, the more you actually know about it, the more you've learned, the more you can make an educated decision about what you're doing. So we try to defer decision making as long as possible because up front who knows? We have no idea. We haven't done it yet. And also try not to make critical decisions. So a decision—yeah, a decision that's reversible is not critical. A decision that's small, so if you waste a week and not a year, is not critical. So if you can try to make a series of smaller, reversible decisions, then a lot of that risk goes away. One thing I'd say is you talked about—you know it's a failure of the mind. I'm not a hundred percent convinced that that's necessarily true because that implies that an infinitely smart developer would be able to write perfect code, and that's not true because no one could. Um, I think it's more—it's a failure of the spirit. It's a failure of courage because most developers actually know in their heart that they're

0:22:29.679 --> 0:22:39.261
<v B>Hacking. If they're hacking, they know that they could be doing this better, but they're not willing to take a risk and to push back. Yeah, actually, so

0:22:39.430 --> 0:23:30.915
<v A>Bootstrapping on that. This is—this is something that's come up a lot, uh, personally, and I have you know pretty strong opinions on this, but I'd love to hear what you guys think. How do you deal with, you know, there's there's a lot of uncertainty when you're building something? And you know my philosophy is is when there's a lot of uncertainty, you sort of compensate for that by trying to iterate quickly—aka, you know, hacking. But then you always, uh, you'll remember that you're accumulating this debt and you go back once you have the certainty, maybe you have the product market fit for your app, then you go back and rewrite the whole thing, and you do it knowing that that was the price that you were going to pay. Other people feel that that you should never rewrite anything. You should have, you know, good standards in place to where you know you don't have to do that. What's your opinion on that whole trade-off?

0:23:30.915 --> 0:25:28.787
<v B>I think that I think that kind of conflates a couple different issues there. Um, you can certainly turn out something very quickly without hacking or, you know, having something low quality. You can very deliberately put something together that is a prototype that, you know, is a prototype and its purpose is for learning. That's not a waste of time; that's not a waste of engineering. And that doesn't even have to be in software. You can do a prototype with wireframe diagrams for a website. You can use Post-it notes on a whiteboard. The idea is to get in front of, you know, the user, the sponsor, you know somebody who can comment on this and learn what it is you're trying to explore. So you don't have to write a, you know, a crappy version of the product to do that, to get that fit, to get that information. You can very deliberately say, 'Okay, well, you know we don't really know how how the user is going to handle this or what they'll think about this.' So here's a prototype. Let's try this. And then you can go in, you know, sort of, you know, armed with full engineering and do the—the real version. But you can kind of have both. You don't have to—you don't have to write crappy code just to get feedback. Got it? That makes sense. The other thing is that prototyping is very different from end-to-end developing. Um, in the book what we do is we just we differentiate between something we call prototyping and something we call TDD development. So prototyping is when you're unsure of a particular thing. It could be a UI element. It could be an algorithm. It could be anything. And so the idea of the prototype is to maximize the amount you learn. And so what you do when you start is you set an objective to say, 'You know, I need to know if this algorithm twice as fast as that one,' or whatever it might be, and you basically ignore all of the niceties of programming just to answer that one particular question, knowing that when you finished—and this is the part that takes an incredible amount of discipline—when you finish, you record

0:25:28.838 --> 0:25:32.989
<v B>Your results and then you throw the code away because it's a prototype.

0:25:33.377 --> 0:25:39.925
<v A>Yep. Yep, and that's very hard to convince, uh, you know the stakeholders, but that's something that a good Tech Lead should do up front. Well.

0:25:40.195 --> 0:27:25.360
<v B>You can also make it—you can make it clear that this is not shippable. You know, especially if you're just doing PDF wireframes of a site, clearly you can't ship that; that's not usable. You know, all Days of Detroit when they used to model cars, right? And if they were doing wind tunnel tests, they'd probably build a car out of, you know, plywood and clay, and they could stick it in the wind tunnels. Yeah, I behaved—no one would want to take a plywood and clay car out on I-95. So, you know, clearly that's a prototype, and that's what we're aiming for when we do prototypes. However, the other side of that is sometimes you actually need a way of seeing how your whole development hangs together. So maybe you're using a new front-end technology you've not used before and a new back-end web framework you haven't used before, and you need to know how that hangs together in your particular context. And for that, we recommend doing something different, which is to do an end-to-end thing—extract, if you like, of your actual final application. And you don't worry about anything apart from getting the database to talk to the back end, to talk to the front end, to talk to the user, whatever it might be. So there'll be no error checking; there'll be no anything apart from this: let's get a crack in this wall that's in our way. And you make that crack and you see if it's the right way of doing things, and then you build from it. And we call it tracer bullet because it's the same way that, you know, if you watch these old war movies when people are firing machine guns in the dark, they use every nth bullet will be a tracer bullet that glows, and so they can see where their bullets are heading. And that's exactly what we want to do in software development.

0:27:25.782 --> 0:27:50.065
<v A>Yeah, that makes a lot of sense. I think—yeah, as you kind of said, the biggest thing is when you have the wood and clay car that because with software, the wood and clay car it's not as—it's not as transparent, but that's where, you know, as I said, a good Tech Lead will say, 'No, this thing is being held together with with clay. You know, we need to go back and rebuild it.' Well.

0:27:50.419 --> 0:28:54.494
<v B>That, and that comes back to a matter of communication that we haven't really talked about yet, but you know the biggest things that that you do as a software developer, right? The job is problem solving. You know, it's not coding Java; it's not coding JavaScript; whatever. It's problem solving. But in order to do that, there's an awful lot of communication going on. And it's not just, you know, talking to a user, interviewing a user, but it's communicating with the team, communicating with the sponsors. It's about learning all the time from the system as it's evolving under your fingers, learning from the team as you work together and build this thing, learning from the users because they, you know, they may not know what they want before you show them something, right? There's that kind of like, you know, Heisenberg Uncertainty Principle with users. As soon as you put software in front of them, they realize what they really wanted was something else. So, you know, this is all again it's very dynamic, very ongoing process where you're communicating, you're learning, and you're solving problems. That's what the job sort of comes down to.

0:28:54.848 --> 0:29:50.198
<v A>I think yeah, that makes sense. Let's jump to something else. What about another sort of—I'm going to go through basically a lot of the great debates that I've seen over the years and get your take on it. And I feel like a lot of them will relate to the book, but feel free to tell me it doesn't. But how do you handle interviewing? You know, we have this great debate where, you know, what we do is we bring candidates in, we ask them to, you know, invert a Binary Tree, solve some NP-complete problem that has some trick to it that makes it polynomial, and then they never have to use those tricks ever again. And so you end up with almost this secret language. You have to come into the company, you know, do the secret handshake that shows that you know you have this algorithmic genius from—in my case, I don't know 10 years ago when we were in college—and then you get the job where you do nothing like that. How do you interview better? I think that's

0:29:50.789 --> 0:30:29.702
<v B>Not—I mean, I think that approach in general is nonsense because again, you're not you're not testing for competency on what your actual expectation is. Because the job is not sitting around inverting Binary Trees or, you know, whatever the interview questions might be. I think if you can make the investment, if you've identified a strong candidate and you want to see if they're—if they have the chops for it, you invite them to sit with the team for a day and you watch them work and you see how do they get along with people? How do they work? What what, you know, and at the end of that day the team gets to decide whether they hire this person. Oh yeah.

0:30:31.710 --> 0:30:52.080
<v A>Exactly. You know, ironically enough, we do exactly that for internal transfers where, you know, that's rather frictionless, but it just at least in my experience it's never been practical to do that with an external candidate. But yeah, I would—I agree with you for internal; that's definitely the way to go. I feel like that might be tough, right?

0:30:52.889 --> 0:30:56.837
<v B>I've done it for external. What makes it what what makes it hard? Well, um I

0:30:59.369 --> 0:31:14.320
<v A>mean there's—there's kind of a ramp up. Also the um I guess you it might be good as like a final round. A lot of candidates might not want to come back for that day. I guess it depends on the job market and many other factors.

0:31:14.978 --> 0:31:28.208
<v B>If a candidate doesn't want to do that, then you don't want to hire them. It's true because a candidate who doesn't want to know what it's actually like to work there is like crazy if you ask me, and you wouldn't want to hire that person.

0:31:28.309 --> 0:31:47.024
<v A>That makes sense. So but let's say, you know, I do think a lot of companies, you know, want to have the person in for one day. Um oh, I guess so. So if you could only have a person for one day, that—that would be the day they would just sit with you and then, and you would do that instead of in lieu of all the other interviews.

0:31:47.024 --> 0:33:44.035
<v B>I think I think you'd have one maybe a 20 minutes. They okay? So the all the research I've read have said that you can pretty much sum up your feelings about a candidate in the first—it's ridiculously small. It's like two seconds or five seconds, right? And you know they've had people actually record their opinion at those very very small times and then go through the entire rest of the day, and it turns out their initial impression is typically the correct impression. So you have you have them come in and talk to whoever—you know, HR, someone in a suit, whoever it might be. Yeah, just just to get that, just to weed out the clearest, you know, the clear, you know, whack jobs, the people who you wouldn't want to hire just because and use your instinct, use your intuition. If you're good at this, then excuse me, then your intuition is the best judge, right? A programming test is irrelevant because you don't turn up at work and have your boss say, 'Okay, everybody in the team, here's an NP-complete problem.' You know, it doesn't work that way. So what's the point of doing that during recruiting? But instead, you know what you do have to do every day is to turn up, learn new things, work with a team, not be a jerk, you know, and you know generally have hygiene. And to do that, the only way I can see to do that is you—you overcome the initial hurdle of being acceptable to HR and then you actually work with the team. Yeah, that makes a lot of sense. There's a ramp up, of course. There's a ramp up, but the reality is the time of people that you want to hire typically, you want them to be able to ramp up. You want them to be able to go into an environment and learn what's need to be done. Now they're not going to be experts in the domain and the team is not going to throw them into the most mission-critical part of it, but they are going to have to show that at the end of the morning at least they now know enough to be productive.

0:33:44.035 --> 0:34:10.620
<v A>At some level. So I mean, I think this is fascinating. I haven't thought about this, you know, this method, but to play a bit of devil's advocate, um you know that there might be some people who are sort of slow starters but sort of get in a good rhythm. There might be other people who kind of have a lot of energy early on and then kind of get burnt out. Would you be sort of favoring that second group, which is—which is not really a

0:34:10.620 --> 0:34:17.869
<v B>Good. Well, it's a different—it's a different axis because the, you know, solving the trivia question on the board isn't going to tell you.

0:34:18.612 --> 0:34:23.050
<v A>That either that's true if anything that favors the people who prepare to interview, which is which is

0:34:23.050 --> 0:34:48.295
<v B>Probably. That's all it does. That's actually all it does. It's the people who found they found the cheat sheet on YouTube or wherever it said, 'Okay, here's the questions. You know, this is what Google asks, or this is what Netflix asks, or whoever.' And you know, 'Here's the good responses, here's the answers.' So okay, you can identify they've got some initiative and some research capability that they bothered to look up the answer, but that's all it's going to.

0:34:48.497 --> 0:35:19.497
<v A>Tell you. Yep. I have a friend who has a pretty morbid view of this. His view is basically that you can't hire effectively, and so all you can do is fire effectively. And so um there's some companies—I won't name any names—but there's some companies where that's kind of their strategy where they're relatively loose on the hiring, but then they're that, you know, there's a pretty—there's sort of some unwritten rules about, you know, firing what they consider the bottom 10 percent after a year or something.

0:35:19.885 --> 0:37:09.572
<v B>Like that. Yeah, I've heard about that, and I think the problem with that is that a company has to be a safe place. I think in order for a team to be effective, if a team is spending their whole time worrying about a set of performance numbers, then that's going to be their focus as opposed to solving the problem. I've heard about a company that does exactly as you described—that at the end of the year the bottom 10 percent get cut, which technically is decimating, which is kind of fun. Yeah. And um I've heard of managers in those organizations that adjust their um priorities in order simply to make, you know, something by the end of the year that gets them back up into whatever the performance goal is, and that totally destroys what the team was doing. Um so I—yeah, I don't think I think there's merit in that, and I think a company has to be able to uh reposition or fire people that just do not work for that company, but at the same time, I think this kind of like mechanical, you know, the slowest 10 percent we just, you know, leave behind is is the wrong kind of motivation. It's a very—it's the danger. It's the danger of metrics. And I mean there's literally whole books written on how you can kill your company by slavishly following metrics because yeah, as Dave was indicating, any metric you set up, people will start—well, they'll find a way to game it though, and they will work only toward that metric and lose sight of the actual business value, the actual reason the organization is there. Because just look at standardized testing in schools. Yeah. Teach to the test. Exactly that's.

0:37:09.572 --> 0:38:01.024
<v A>Right. Yeah, I feel the same way. Um that you do, Dave. That—you know, I feel like my, you know, my team is kind of my family. You know, I wouldn't go and tell, uh, you know, one of my children, 'Well, you got an F on this test. Why don't you, you know, go down the road and live in that house over there?' Right? Like you're out of the family. That's it. Um uh and so yeah, I totally agree. Um um so actually let me ask you this. And there's this sort of idea of this, you know, Pareto distribution when it comes to engineering talent. Like, you know, everyone says, 'Oh, I want this mythical 10x engineer,' and so I'm going to hire like crazy, fire like crazy, do this—this really bizarre thing because I'm trying to look for that needle. And do you believe that there is sort of that sort of Pareto distribution that some people are just, you know, coming in doing 10x?

0:38:01.024 --> 0:38:29.256
<v B>There is, but they're kind of looking at the wrong axis because the way that—that's commonly interpreted is you're looking for the individual performer who can be 10x better than anyone else. And that's actually not what you want because that person is probably a phenomenal jerk, not easy to work with, for real. So seriously, what you want is you want the performer who can come in and make the team work at a 10x level. So oh this is

0:38:29.914 --> 0:38:41.963
<v A>Why? Why is this 20x a jerk? Why is it? I mean, I—I can kind of—I know people like that, but just like broadly speaking, why are why are those people jerks because the slow people get

0:38:41.963 --> 0:40:41.520
<v B>In their way, right? They know that they could be coding really, really fast, but having to fill out all these stupid forms gets in their way. Having to uh or even worse, having to answer all these ridiculous stupid questions from people who could just look it up, right? That gets in their way. And quite often there's actually a little hidden problem, and that is when someone gets to a certain level of expertise, the knowledge they have—um okay, there's a whole but I could go on for a long time about this or Andy could better than I could, but it's all to do with the fact that um the real processing power in your brain is the non-conscious part of your brain, and the conscious part is just kind of like window dressing that lets you interact with the rest of the world. So when you're first starting all of your in a particular area, all of your processing is being done by your conscious brain because you're having to think about everything you do, like when you learn to drive or whatever it might be, and that means it's slow, and that's why when people first start to drive they're very jerky and they're slow to respond, and all that kind of stuff. But after a while, the information starts to get embedded in your non-conscious brain as tacit knowledge, and at that point you start to operate more by reflex, and that's why an experienced driver can drive without even thinking about it. Same is true for experts in any field. So if you become an expert programmer, then it's because you've put in the hours and you've used the feedback, and you now make decisions not at the conscious level but down deep somewhere in the lizard brain. And as a result, when someone says, 'Why did you do that?' the answer is probably, 'I don't know,' and it was still a good decision, but it was made without conscious thought. And that is also very disruptive to a team because you're this person who can just basically do things and not know how or why, which means he can't tell or she can't teach the rest of the team what they're

0:40:41.520 --> 0:41:04.607
<v B>Doing. But Andy's point is a really good one. If you want to make a team 10 times more effective—or sorry, if you want to get the equivalent of a 10 times increase on a person's performance—if you have a team of 10 people, all you have to do is bring in a manager who can make each individual in that team twice as effective. And you can do, you know, and you can do that. So um so maybe

0:41:05.164 --> 0:41:30.899
<v A>Just to recap, so I think what you're saying is—is you know if you're off, you know, as you say using your lizard brain, uh using your unconscious memory and and writing code like crazy, and you're not you're not taking it to the conscious space, that's what's giving you the 10x. But that's also uh you know just—just just blowing up the people around you because ultimately you need to communicate and need to be conscious to sort of work as a team.

0:41:30.899 --> 0:42:01.037
<v B>And also sometimes your unconscious is just going to do things because it has seen this situation in the past 17 times, and it's going to say, 'Okay, this is the way to do it.' And it might not be appropriate the 18th time. Yeah. Yeah, that's—that's the big risk because you know you're the expert is relying on intuition, and lots of the time they're right, but not necessarily. They could be very wrong, and they could develop something now that no one else on the team can understand and can't fix. Yeah, this is you.

0:42:01.392 --> 0:43:06.968
<v A>Know this is a bit of a tangible. Bring it back is I know somebody who was working in finance and they were using, you know, rather old machine learning techniques. And I said, 'Um, you know what about using some of these newer techniques?' What they told me was they tried it, and for, you know, six or seven months, they were making more money. But then the eighth month, they took a huge hit just had some really bad decisions, and they were decisions that were unexplainable. And so because of the lack of explanation, lack of interpretability, they ended up dropping back. They would rather make less money but at least know what was going on.' And so right, that's another example where, yeah, someone has to sort of really kind of communicate. Another thing is there's a lot of people who are who don't want to do good peer reviews. And and you know my sort of philosophy on that is if you read your code and the peer reviewer reads your code right away, that's twice as many people reading the code than writing it. So it's only going to multiply more than that. I would say.

0:43:06.968 --> 0:43:42.135
<v B>Actually, if you read your code, that's an infinite number of more people reading it than typically happens. No, seriously. How many developers stop and reread their day's output the next day? Yeah, not very many. Not very many. Think how much given that peer review or code review is the most effective way of finding bugs. Just think how much more productive people would be if the first thing you did in the morning was get a cup of coffee, sit down, and read yesterday's code. Yeah, that makes sense with a clear, clear head and fresh eyes. Fresh eyes can make all the difference.

0:43:42.507 --> 0:44:19.598
<v A>Yeah, what about how do you sort of reward? Um, you know, and this is getting more into the social part of it, I guess, maybe the corporate part of it. But how do you sort of reward good engineering? You know, like you could say that it rewards itself, but then the problem is now assigning that reward becomes difficult, right? It's almost like the person who manages the nuclear power plant, you know, it just becomes someone that doesn't really get thought of a lot. How do you sort of develop the right incentives and the right sort of structure to really reward people for taking that extra time to be conscientious? What do people want? What do what do people want?

0:44:19.919 --> 0:44:23.175
<v B>Yeah, see, I'm doing the consultant trick there. I'm taking your question: 'They want...'

0:44:25.100 --> 0:44:53.179
<v B>autonomy and mastery dave oh thank you andy i mean that's exactly right i mean if you want to give people motivation you give them more of the stuff they enjoy right and you make it you create an environment in which it's enjoyable to create cool stuff good stuff the stuff that you want created and if that's the case then you can reward people by giving them more of it i think though

0:44:53.179 --> 0:45:21.968
<v A>you have a bit of a you have a bit of a tragedy of the commons where where what people want is to um sort of do things that that that have some impact so maybe people want to um use a new framework someone else wants to um you know get more people to visit their website and and what happens is you know people might want to write good code but that want ends up becoming secondary to some of these other ones those

0:45:21.968 --> 0:46:37.028
<v B>motivations are all all facing exactly 180 degrees away from where they should be right what people i believe what people really really want most people who go into software development do it because they want to produce something that other people can use they want to be useful all right they want they want there's a thrill involved in shipping software and knowing that two people are using it or in some cases 100 million people are using it right and you're making a difference you know if you're if you're a twitter or a facebook or whatever else you are changing the world people are organizing revolutions on your platform right people are organizing hate campaigns on your platform whatever it is you're changing the world and so people who are in those environments should be given that feedback they should be they should get to know that yes you are making a difference in the users of your software's lives because once you know that i can't think of anything more motivating than getting out there and helping out you know you're in a position we are kind of like little god-like beings on this planet in that we're one of the few industries that can take nothing and create something from it i

0:46:37.028 --> 0:47:12.972
<v A>mean yeah but it's sort of an opportunity cause so piggybacking on that someone can say well um you know i just wrote this this this prototype i built it out of wooden clay uh assembly code and i can go and and do the the the have the discipline to go and rewrite that or i have this new idea for changing the opinions or changing improving the lives of these 100 million people and i'm going to do that instead and then you know a year later the wooden clay thing falls apart right so yeah kent beck have you seen kent beck's talk on that the three x's

0:47:12.972 --> 0:49:09.612
<v B>uh no but i can i'll add it to the show notes okay because kent beck has a talk about his time at facebook where he talks about the different cultures of the different parts of the organization and you have the people building the clay prototypes right and you have that high churn high risk high return kind of experimental side of it and then you have at the other side of the curve the we better not screw up because it will kill the business part of the company right and they have very different objectives very different uh ways of managing it very different ways of measuring uh success and the the interesting part is the curve that goes between the two of them and how things transition up and down that curve and i think that that addresses what you're talking about i think if you have a person or a team that really really enjoys churning out ideas and are really really bad at all of the polishing and everything else that takes place that's great you have yourself a little factory of you know really cool ideas then you have on top of that people who can filter who can do the a b testing and all the other kind of stuff at the end of the day say you know what that really was a really great idea let's make it look good or let's make it manageable or maintainable or whatever else you need to be able to do right so don't kill it yeah don't kill the team who's who's being a manager just because they're using clay and this goes back to what we what we talked about right at the very beginning it goes back to context right one size doesn't fit all it's perfectly okay to have one team that is you know the imagination factory and one team that is the you know solid reliable engineering with erlang never fail uh kind of i mean whatever yeah you know that's that's you know what's best for them is not best for the other and that's that's as it should be right every context is different that makes

0:49:09.983 --> 0:49:41.978
<v A>sense so i mean with that in mind yeah you really need to have a good engineering discipline all the way up through the stack of of through the leadership in the organization right because there has to be somebody high up that says you know we have all of these prototypes now we need we need a team that is that has a different incentive um to make sure that that uh you know that we don't end up with just wood and clay when we're done that we have that we have the solid foundation as well well unless your business

0:49:41.978 --> 0:50:08.877
<v B>is making wood and clay in which case you're all set sure yeah fair enough fair enough i mean it depends right you know there are there are companies that do that um like xerox park for example right yeah they spin off the skunk works and you know they spend their entire lives producing nothing more than prototypes and then the rest of xerox looks on and say hey we could productize that you know and do so so yeah let me ask

0:50:09.434 --> 0:51:00.194
<v A>you this so so what do you you know so someone who runs let's say you know a lot of the people listen are you know fresh out of college or changing industries or things like that and i remember when i first got into um the software engineering industry i kind of thought uh in my in i have a say i thought tech leads were just people who didn't work as hard and i thought managers were people who didn't do anything and and directors were people who posted on social media about the company um that that's obviously not true but you know so we talked about one thing that let's say directors maybe even you know vice presidents or ctos have to do which is sort of setting up teams with different incentives what do you think just more broadly that that tech leaders a tech leadership at a company does they

0:51:00.649 --> 0:52:18.983
<v B>support their team. The point of a tech leader, I think, is to run ahead of the team just a little bit and sweep all the debris out of the way so the team can move smoothly and efficiently, you know, through to completion. I don't think a tech lead—a tech lead—and it depends on what phase of a project you're in as to what that involves. At the very beginning, it could well be setting architectural overall directions. A good tech lead will act more as a referee than as a dictator when it comes to that. But then later on the project, a tech lead will be running interference with management, will be making sure that the team is producing whatever artifacts are necessary and fighting back the requirement to produce artifacts that aren't necessary. Fundamentally, the tech lead is a servant of the team, but notice—notice again—that's a very dynamic description. It changes over time. It's not static; just do this one thing, you know, at this one point. The role changes depending on, you know, the life cycle of the project and even the organization. It's, you know, once again, it's a very dynamic approach. Yeah.

0:52:19.287 --> 0:52:57.272
<v A>Makes sense. What about somebody who wants to get into the industry? We get a lot of emails from people who, you know, they want to know, should I go back to college, get a four-year another four-year degree? In some cases, should I do this boot camp XYZ? Should I just go on GitHub and start cloning, you know, forking repos and learning that way, you know? But ultimately the goal for most of the people who write in is is tilt to get a job. Right? So with that as the goal, how could somebody, you know, get started if they didn't, you know, get a CS degree or they didn't go through that process?

0:52:57.964 --> 0:53:44.200
<v B>I so I think that there is a use for CS degrees, but that use is not preparing someone for a job in the industry. I think there are—there is a and there are not many CS programs that actually teach this properly. But there is a theoretical side to computer science, and that you probably need to learn if you want to go into research and, you know, move the goalposts a bit further forward for getting into the industry. I don't think you're particularly well served by a CS degree. I see people graduating CS degrees who have never written a unit test in their life. Oh yeah.

0:53:44.252 --> 0:53:45.299
<v A>Probably the majority.

0:53:45.585 --> 0:55:41.360
<v B>Yeah, who couldn't organize, you know, who couldn't be part of a team to save their lives. So you hire someone like that, you know, that they have the resolve to sit through four years and, you know, pass some tests, but you also know you're gonna have to train them pretty much from scratch. Yeah, I think a boot camp is if you're looking for people who you can actually employ, a boot camp is a better bet. But I think you also if you're if you're just starting out and you go to a good boot—a good boot camp and you learn both programming and also project stuff, then I think you're way ahead of the curve. The trick there is to realize that seven months does not count as experience or as, you know, it doesn't make you an experienced developer. And so once you graduate from a boot camp, you get your job—that's fantastic. Don't forget that you now have to catch up with your colleagues who have a lot more experience in terms of, you know, a whole bunch of stuff: algorithms, languages, techniques, tools, you know, all that kind of thing. And so your boot camp is basically a way of bootstrapping you into the industry, but that only gets you so far, and you have to keep learning after that. Well, and that's—that's really the key right there. The chief ability you need to pick up, whether you do it on your own or from college or university or some other program, you need to learn how to learn and how to do so fairly quickly given the pace of our industry. So, you know, that's one of the advantages I think—that getting any sort of degree, it doesn't have to be in Computer Science or Information Science or anything, but just the, you know, going through the process of getting a degree, you know, usually you'll at least pick up on your own if they don't explicitly teach you.

0:55:41.360 --> 0:56:38.520
<v B>how to learn things, you know, make yourself crib, you know, notes, make yourself cheat sheets, do whatever your technique is. And once you kind of have a feel for that, then the rest of it's much easier. Okay, here's the job you want and they're using a language you've never used before. All right. Well, let me go now. Let me go learn that. Let me go, you know, take a course on that or download some YouTube videos or buy some books or whatever it might be. Because even once you've gone through that sort of first hump and gone through the HR process to get you in the door for the first job, that doesn't mean the learning's over. Right? You've literally just started. Now you've got to learn the domain and this framework that they're using and this other language that they're using that you didn't know about, and on and on and on. So, you know, you really need to be prepared for the constant learning and the constant upkeep kind of no matter where you start. That really is just the.

0:56:38.520 --> 0:57:17.440
<v A>Beginning. That makes sense, and I think it ties into the interviewing, you know, discussion we had earlier where, you know, the sort of corollary to that is how do companies evaluate all of these different boot camps that don't have sort of this rubber stamp from, I guess, the government—whoever accredits the college accreditation board? And I think the answer is then that you have a better interview process so that if someone, if over time you learn that Boot Camp XYZ is not really preparing people, you could learn that in the interview. Well, actually many boot camps.

0:57:17.440 --> 0:58:00.229
<v B>will actually organize for their—typically the last iteration, whatever they call their kind of three or four-week cycles, the one before the last will actually go out and work in industry, and they'll have like, you know, companies that are interested in evaluating people and also are prepared to like train them to some extent. And so that's actually a really good way of recruiting. Right? So you volunteer, you know, you say to them I'm looking for whatever it might be a Rails developer, and you go to the boot camp and say I'll take one of your Rails developers for three weeks and I'll give you a review at the end on how well they did, and you know what? If you like them, make them a job offer.

0:58:00.550 --> 0:58:36.814
<v A>Yeah, that makes sense. That makes sense. This happens a lot with interns. So it's the equivalent of an internship where somebody is in their final year at university, they spend a summer at Company XYZ and then it becomes more frictionless to get a full-time job there. Exactly. Yeah, cool, that makes sense. What about oh, I had a topic on top of my mind. If oh yeah, what about working remotely? Does the book cover that or is that something that's kind of out of the purview of the book? I know there's a bunch of unique challenges there where you're sort of, you know, the only person in Kansas on your.

0:58:37.185 --> 0:58:50.635
<v B>team. That's—that's not something we really speak to by itself, but we've done an awful lot of it. I haven't worked—I have not worked in an office for 25 years now or so. Okay, so.

0:58:52.154 --> 0:59:08.640
<v B>you know that's we're well acquainted with it, but we didn't—we didn't really address it specifically of, you know, here's the tips and the techniques. I mean, it kind of it kind of falls under the purview of the other topics of good communication and, you know, those sorts.

0:59:08.640 --> 0:59:48.027
<v A>of things. Yeah, that makes sense. Cool. Um yeah, this is absolutely fascinating. I think, you know, we didn't do sort of this broad overview of the whole book, but I think actually, you know, anyone who listens to this should be extremely inspired to go and read this. It's a fascinating book. I'm about—I think three chapters in my plan was to have read the whole thing. I said, oh, while I'm on paternity leave taking care of this newborn, I'm going to have this book read by today. And that was a—that was a bad plan, I think. By the end of the book, I'll realize, you know, how I actually messed that one up. Is this is your first child? Second one? So oh, so you didn't.

0:59:48.027 --> 0:59:49.326
<v B>learn the first time.

0:59:49.326 --> 0:59:57.140
<v A>No, that's right. Yeah, I didn't iterate fast enough there. I need to take a bigger step in that gradient.

0:59:57.140 --> 1:00:11.213
<v B>Well, well. The problem, the problem of course with a newborn is you start getting those sleep deprivation hallucinations going on. So yeah, that's right. We'll give you a pass. We'll give you a pass on all right, but that is an example of one of those irreversible decisions as well.

1:00:11.213 --> 1:00:33.690
<v A>Yeah, that's true. Definitely a critical decision. There's no going back. So is there a part of the book that you know you wanted to highlight? Oh, actually we did want to talk about what's new, you know. So for people who have the 20th who have the original version, what can they expect? You know, to learn? That's different to the 20th anniversary version, well.

1:00:34.028 --> 1:01:51.640
<v B>On to some extent. Really, it's a whole new book. We added, I think what we're saying about a third new content, but there are changes literally on every page from the original—some small, some more major—but you have to consider that the world today of, you know, 2019-2020 is completely very much different from the world of 1999 or year 2000. So we tried to reflect that. You know, a lot of stuff changed in technology, a lot of stuff changed in attitudes—how you approach certain things. So I, you know, of course, I would say yes, go out and buy the new book, but some people say, 'Well, should I get that? Should I read that instead of the first one?' And really it's—it's a I think it's a different experience. Yeah, I would say you don't need to go if you've never read it. You don't need to go out and buy the very first one. No, I just get the new one. But but it is it is it's not like, you know, a Jack Reacher book where you have to read them in order or something. You know, it's just yeah, right. There's a lot of there's a lot of—I guess let's come back to the original question. You say, 'You know, what would I learn from reading the book?' And the answer is really exactly what Andy and I learned over the last 20 years.

1:01:51.640 --> 1:02:28.491
<v A>Mhm. Yeah, that makes sense. I mean, one thing that I think personally I felt very has changed a lot is this open source. I mean, in 2000 there wasn't the kind of open source community that there is now, and some of these Silicon Valley companies like Google were just way way ahead, maybe even a decade ahead of everybody else. Now the open source communities have gotten so big, and now I mean most of the big companies are in the open source community, so they're pushing it forward. That I mean, now it's a lot of looking at what's out there versus yeah, in 2000 there wasn't that much out.

1:02:28.829 --> 1:03:48.980
<v B>There. Well, and it's funny because yeah, the Net was still new. There was no Google. We used AltaVista. We used Lycos, you know, those were the search engines. And every time in the first edition of the book we would talk about the Internet—we know with a capital I—because it was this new, you know, awesome thing. And so yeah, we had to tone that down. It's like, 'Oh, of course, just go grab this on the Net.' And you know little things like, you know, in the old days we'd say, 'Okay, if you wanted to learn this language, hey, this is great. There is an open source implementation of it. You can go and download it and do make config, make make install and play with it.' And you don't need to do any of that nonsense now, right? You can go online and play in a REPL in any language that you want. Yeah, yeah, you know, it's just there. So yeah, there was a lot of that those sorts of changes, you know, not having the build machine over in the corner but being able to do a, you know, just push in your version control system and have a pipeline in the cloud do your continuous integration build test, you know, whatever it is. Um so yeah, this definitely I would classify that as sort of added almost attitudinal changes because it is a technical change, but it feels fundamentally different from having, you know, a build machine in the corner versus I'm just doing a commit in my version control and it's just happening. Yeah, that's.

1:03:48.980 --> 1:04:09.252
<v A>Right. There's a scalability or a scale-free nature to that. I mean, we have one project I work on every time there's a commit on any branch where there's—I don't know, there's probably thousands of them or at least hundreds of them a day. It goes through and in the cloud does an integration test that'd be totally impractical if you had to have the machines yourself by your desk. Sure.

1:04:09.809 --> 1:05:38.031
<v B>Yeah, I think there's another side to it though, and that is that the proliferation of open source has meant that choosing technologies has now become something of a nightmare, and many developers are faced with this. You know, it's the start of a project: what is the JavaScript framework this week? Yep, yep. And I think that in the face of this bounty—this like excess of opportunity—it takes a lot of discipline to say, 'I don't need to be using the latest and greatest.' And the teams who are the most effective are the ones that find something that works for them and obviously periodically review to make sure it is still working, but don't worry about the fads. Don't worry about, you know, this latest thing they read about on, you know, Stack Overflow whatever, and just to keep thinking about the fundamentals. The fact that nowadays you can put together a thousand Node cloud computer system managed with a database and with an operating system and with compilers and with libraries and with everything else and not spend a cent apart from processor time—it's unbelievable. It's an incredible opportunity, and the trick to utilizing that, I think, is to be efficient and effective and really pretty intensely focused on what it is you're trying to do. And

1:05:38.031 --> 1:05:59.969
<v A>not how you're trying to do it. Yep. I know personally I get a lot of analysis paralysis when I start a new project, especially something in let's say web where there's so many different technologies and you could spend an entire day reading about React versus Angular, and people will have probably a whole career based on writing about that. And what's even worse

1:05:59.969 --> 1:07:32.106
<v B>that I find is that I'm in the middle of a project and it's not working, and there's this human reaction which is, 'Well, it can't be my fault, right? So it must be this framework.' And it's really hard to resist that temptation to say, 'Okay, I'm going to dump React and go to Vue and see what happens if I do that.' You know. Um and I see a lot of people doing that, and I gotta I gotta say actually I don't think that's a bad thing. At a certain point, I mean obviously if you're, you know, far down the path and months and months into the project, maybe that's not such a great idea, but you know if it's early stages and you're prototyping and you're learning and you don't know—well, would Angular be best for this particular application? Or should I use Vue? Or should I use React? Or or whatever today's latest entry is? You know, try something simple in each one. Try something complicated in each one and you know give it a go, see what you learn from that, see which you think would be easier to maintain, which would be easier to, you know, deal with. Um you know too often whatever whatever we are faced with, whether it's an architectural decision or a design decision, we kind of go with whatever our first instinct is. Okay, well here's a way to solve this. Let's do that. And that becomes the direction. So I'll leave you all with a challenge: you know, when you're in that situation, think of at least three different ways you could do it. Think of three different frameworks. Think of three different algorithms. Think of three different approaches and you know try as much of each one as you can and see what that tells you, see what you can learn from that.

1:07:32.528 --> 1:07:57.621
<v A>Yeah, that makes sense. I think also things are much more transferable than—you know, we believe I think when we start out we have this big fear of missing out that if we don't do it in React then we'll get to some point we'll be totally stuck. And the reality is it never really works that way. You know, most of the even if worst case you have to completely rewrite it in a different language that's going to be much much faster than yeah because because now, you know

1:07:57.925 --> 1:08:07.820
<v B>What it's supposed to do, and you know they call it software for a reason. It is soft. You can change it. Oh, I thought it's because it was wearing.

1:08:07.820 --> 1:08:25.229
<v A>On that note, cool. Well, this is amazing. So if people want to, you know, get the book, where would they go? Where do they, if they've read the book, how can they contact you folks?

1:08:25.634 --> 1:09:38.860
<v B>That part work. So the eBook is available directly from us at pragprog.com, which is short for Pragmatic Programmer. You go to pragprog.com, and that's our publishing business. We've got hundreds of titles in print that other authors have written that we've published over the years, and you can get the 20th Anniversary of the Pragmatic Programmer in PDF, MOBI, and ePub format, all for one price directly from pragprog.com. And then on September 19th, 2019, the hardback—we're going hardcover this time. Oh, really? Yeah. Well, we figured so many people kind of complained that you know the their books were getting all dog-eared from lending it out to folks and rereading it and reading it again, carting it around, you know, they were taking some heavy damage on the cover. So we figured, all right, we'd give it a fighting chance this go around. So the 20th edition is a nice hardback, you know, suitable for stuffing in your backpack and, you know, kicking around the coffee table. Nice. And that'll be—that'll be in all the sort of regular dead tree bookstores, you know, Amazon, Barnes & Noble. If you've got a local bookstore, please patronize them. We like to keep them in business.

1:09:39.580 --> 1:09:43.815
<v A>Cool. And how can people reach you and Dave if they want to talk to you folks?

1:09:44.018 --> 1:09:54.430
<v B>You can find us both on Twitter. Dave's at pragdave, I'm at pragmaticandy. That's probably the best way to get a hold of us. Cool.

1:09:55.594 --> 1:10:09.300
<v A>Cool. Thank you so much again for coming on the show. And yeah, everyone, so check out pragprog.com, and we'll put—we'll put a link to that in the show notes. You can grab your copy of the book there or at your local bookstore. When does it when does it hit?

1:10:09.300 --> 1:10:35.993
<v B>Bookstores? Uh, so September 19th is the official publication date. It'll be available on informit.com at least at that date, and I believe Amazon within a few days or a week after that. And then it sort of diffuses through the ecosystem, so you know other places in the U.S will have it within, you know, a week or so. Internationally, it might take a few weeks to get to your country. Cool.

1:10:36.246 --> 1:10:44.734
<v A>Cool. So for that—for that—for that boss, you have who still wants people to invert a binary tree for the interview? You could give it to him for Christmas. It'll be there.

1:10:44.937 --> 1:10:46.599
<v B>Absolutely makes a great Christmas present.

1:10:46.776 --> 1:10:49.155
<v A>All right. Cool. Thank you again for coming on the show.

1:10:49.544 --> 1:10:50.286
<v B>Thanks for having us.

1:10:54.944 --> 1:11:17.040
<v A>The intro music is Axo by Binar Pilot. Programming Throwdown is distributed under a Creative Commons Attribution-ShareAlike 2.0 license. You're free to share, copy, distribute, transmit the work to remix, adapt the work, but you must provide attribution to Patrick and I, and ShareAlike in kind.

