Isaac Askew: Welcome to Never Rewrite, I'm Isaac Askew.
Jeffrey Sherman: And I'm Jeffrey Sherman. And today we're going to talk about the rewrite trap. So we talk a lot at the show about rewrites and why they fail and how they fail. But we haven't talked about why rewrites become a trap. Like why once you start a rewrite, it becomes a trap that is very hard to escape. And obviously it's not a physical trap, right? It's not actually holding you in and preventing you from getting out. But in a lot of ways it feels that way. And so. The first aspect of why rewrites are a trap is that the something that we've talked about before is risk is very delayed because delivery is very delayed. If you aren't expected to resolve anything for six months or six weeks or whatever, that entire period of time or most of that period of time is gone before anybody checks back in to see how you're doing. And so, you if you want to go with a quicksand or peat bog metaphor, right, you walk all the way in. Doesn't everyone love a good peat bog metaphor? You walk, you get into the quagmire, you walk in one step at a time. And it's not until you're in the middle of this thing that you realize, ⁓ now I can't get out. You could have gotten out in the beginning, but it didn't occur to you to stop.
Isaac Askew: ⁓ I love a good peat bog metaphor.
Jeffrey Sherman: And so that's sort of the first aspect of what makes it a trap is because the ⁓ releases, you don't realize you're in a quagmire with a rewrite until it's time to start talking about releases. Because the central part is, okay, I'm going to do a six-week rewrite. No one is going to check up on you until like week four. Like, hey, are you looking good? So if you had that where
Isaac Askew: Yep.
Jeffrey Sherman: everything, ⁓ Isaac, have you, in your rewrite history, have you seen that everything seems okay and then suddenly it's not, where the team is plotting along?
Isaac Askew: Yeah, but I think it's kind of trickier too from the perspective of the little guy on the team, like the one of the engineers working on the project. ⁓ Because you're right that we experience it like everything's okay that it's not, but that's how we know, like we basically don't really know how to guide the ship. Because from our perspective, what's happening is
Jeffrey Sherman: Mm-hmm.
Isaac Askew: ⁓ We're just given work to do every day and we're doing the work and it's hard work and that feels like progress to us because we see every day what we're doing and how we're like actually moving towards what we think is the goal and how we think is progressing correctly. We don't see that big picture
Jeffrey Sherman: Mm-hmm. Mm-hmm. Mm-hmm.
Isaac Askew: Like you said, that is check-in. They're like, how's it going with the four week mark or something? For us, it's check-in every day because we see it. I've worked on a rewrite before that failed, but it was months and months and months. We're working hard. It seems like things must be going well because I'm working hard and we're doing that slow death march, right? We're working really hard to get in the middle of the peat bog.
Jeffrey Sherman: Mm-hmm. Right. You're working hard. Right. Right, yeah, you're working, it gets progressively harder the further you go in to keep going, right? You see the far shore, you think, but the Peek-Bog gets more boggy as you walk deeper into it.
Isaac Askew: Yeah. Right. Yeah, and it's not until, I think some of the decisions are deferred too. Like you might actually early on run into, hey, this actually seems like a really tricky thing to port as you're like, you're going through and trying to find pieces you have to rewrite. You encounter an old edge case that wasn't considered to the beginning of the projects. you're like, okay, we'll put it on the backlog. We'll handle that in a bit. Or you'll find some of the kind of way to kind of like classify the fact, ⁓ we can't forget to port this thing over.
Jeffrey Sherman: Mm-hmm. Right. Mm-hmm.
Isaac Askew: And it's not until towards the end that you realize, ⁓ well, we're 80 % there, but the last 20 % is 80 % of the work, right? And it's actually quite a bit of work and sometimes actually kind of undermines all your original effort because a lot of the stuff that had to be ported was the stuff that should have been considered to begin with before what you worked on.
Jeffrey Sherman: Right. Right. It's all about the delayed response and the delayed release. Because if you had gotten the important stuff or the stuff that's value, you've gotten that all the way into production, you would have learned something. And it would be adding value. And that would have been the, I guess in this case, the causeway that you could use to keep yourself from sinking into the mud. But because nothing's been released, you don't realize that you've got a whole lot of nothing. I think. There's a quote from, I think, Seth Godin. said something to the effect of, if you want to get unity, do the easy thing first. If you want the project to succeed, do the hardest thing first.
Isaac Askew: ⁓ yeah, I 100 % agree with that. And I think that was a mistake of actually the one of the rewrites that you and I were on that failed was the proof of concept for moving this email sending engine over was to move the first easiest email sending piece over. It was like this kind of non-personalized
Jeffrey Sherman: Mm-hmm. Mm-hmm.
Isaac Askew: emails, so emails that don't get the hello first name and the template replacement stuff. It was like a one-off send that had none of that. It was the easiest thing to do. The hard thing to do is this personalization engine, custom field replacement engine, and et cetera, et cetera. But that wasn't delivered first. We spec'd out the whole project, and maybe the idea was, we should get momentum first to show that we can deliver in pieces. But instead, we delivered
Jeffrey Sherman: Mm-hmm. Yeah, that's the idea.
Isaac Askew: something that by itself is nothing more than a very difficult, fancy way of doing a simple sin that we don't, you who cares? And if we had started with, ⁓ we're solving the mean, right, if we started with this thing can actually send the bread and butter of the company, which is personalized campaigns to people, and then proved that, then the rest of it would have been a lot easier to deliver, I think. But in general,
Jeffrey Sherman: Right, didn't add any new value. Yeah.
Isaac Askew: You'd be DC shipping. You'd be, you know, you'd be iterating on different pieces of the application that you're trying to improve or modernize rather than like rewriting the entire thing. The whole point is to break it apart into pieces instead of shipping as one huge project.
Jeffrey Sherman: So that's one aspect of the rewrite trap. The fact that you don't realize you're in the trap for so long. The second aspect is there's a concept in neuroscience called the sunk cost fallacy. It's one of the main human foibles is humans are really bad at looking at something and saying, well, this isn't going to pay out. They say, ⁓ well, I put this much money in, therefore I need to keep going. It's called
Isaac Askew: Mm-hmm. Yeah, you dig in. You dig your heels in.
Jeffrey Sherman: Right, it's a sunk cost fallacy. Back in 2004, John Kerry had been a very vocal anti-war critic of the Vietnam War. His whole thing was, how do you ask someone to be the last person to die for a war that was a mistake? When people are like, well, we've invested so much time and effort and lives into this war. And John Kerry's response was, how do you ask someone to die for a war that you know was a mistake? How do you ask someone to be the last one?
Isaac Askew: Mm-hmm.
Jeffrey Sherman: this sunk cost fallacy of, well, we've invested this much, we must keep going. Because otherwise, that means that everything we invested up so far is wrong. Or it's a mistake. And that's, it's admitting a mistake. Well, it's not necessarily admitting a mistake. Because if you say, you know, we started this thing and we thought there was a 50-50 chance, we put some money in, and now, or we thought there was a 10 % chance, but it would pay out 20 to 1.
Isaac Askew: Mm-hmm. Yeah, it's admitting a mistake. Yeah. ⁓
Jeffrey Sherman: Right? So we took a lot, we were betting on long shot and now, now you know, it's not going to pay out. If you like, as soon as you realize it's not going to pay out, cut it, then that's fine. But the sunk cost fallacy is even if you know that you're betting on long shots, like I've got 10 long shots going and I just need one of them to succeed. It's very hard as a human being to cut the other nine. Like when you realize that they're not going to work. And so a rewrite is a long shot. It's.
Isaac Askew: Yeah. Yeah.
Jeffrey Sherman: It's a Hail Mary, it's a long shot, and it's very hard to cut those because we're humans. And so you certainly, if you tell the team, hey, we should always be looking to fold. We should always be looking to, for a reason that we canceled this rewrite, you're not going to have a very happy team.
Isaac Askew: Yeah, that's an interesting tie in actually, because it's not just a technical decision at that point. You're playing against biology and the human brain and its want to keep going even, know, I still think my head is like admitting a mistake, even if
Jeffrey Sherman: Mm-hmm. Mm-hmm.
Isaac Askew: You were saying it's not technically framed that way, but that's kind of way I see it. It's like, I'm willing to sink this amount into this project, and I know this is the way we should go. And then later you go, I have to get a leadership and say, actually, I think this is not the best solution. That is what you have to combat.
Jeffrey Sherman: Well it depends when you- We'll see you later. Well, there's a couple of ⁓ points on there. One, if you go into it with saying, hey, this is a long shot and these are the conditions that we think are gonna happen. And if we're not making this, then we should cut it. Then when you go into it, you can cut it without feeling like it's a mistake because you made a bet. But ⁓ in all of my time, I've never walked into a rewrite where people said, this is the bet we're making and this is the failure case and this is when we'll know to cut it.
Isaac Askew: Mm-hmm. Yeah.
Jeffrey Sherman: or like these are the goals. I mean, even on...
Isaac Askew: Yeah, think, yeah, think that's just a good way to phrase it. Because if you just go ahead and give people permission, essentially, to say, we know this is a bad, at any point if you want to flip the breaker here and, you know, pull out, then we can do that. Everyone should just call that out. That's a much easier thing to bridge than someone saying
Jeffrey Sherman: Mm-hmm.
Isaac Askew: this project's gonna work. I know it. I'm putting my whole career on the line for this project. know, because then they will never admit it. But that's, I think that's a really great way to approach anything going forward. Any project in general, it's not necessarily a rewrite, but just a project that you're thinking, let's say it's a new feature, not a big rewrite. New feature you want to spec out. And you go into it and say, hey, our hypothesis is that this feature is going to bring this kind of traffic and help out in this way, blah, blah, blah.
Jeffrey Sherman: Mm-hmm. They never will. Mm-hmm.
Isaac Askew: But if we're wrong, then we should see metrics early on that kind of show that, and then we'll switch gears and switch directions. That way we don't put more resources into this. People do that all the time with analytics, trying to A-B test things. Or even if you're getting into the feature, then something else happens. Like AI gets released and you're like, well, wait a minute, we should make an AI product. Because now AI can do this. We were mid feature on this other thing that now that maybe AI solves.
Jeffrey Sherman: Yeah, things have changed. The landscape has changed.
Isaac Askew: in much easier way, we should pump the brakes and maybe switch gears. Framing it from that perspective to give people permission to say, hey, I think we should stop this direction without making it seem like they're not on board, I think is a really great way to facilitate kind of healthy direction and communication.
Jeffrey Sherman: And that feeds back into the idea of you need to release early, you need to release often. One, so that you get some value out of the thing and get some feedback from the actual market. But two, with a rewrite, if you are in an all or nothing rewrite and it's been six months and now all of sudden you're realizing it's going to be nothing, then it's nothing. You have to go back to this thing you hated before, where if you were thesis shipping and
Isaac Askew: Mm-hmm.
Jeffrey Sherman: You were releasing little bits for six months and all of a sudden management says, hey, the landscape has shifted. We don't want to invest this much time and money into making things better anymore. You say, okay, you know, it's that sucks, but look, we've done all this stuff. All the things that we've made better are still made better. It's still in production. And so the, the, the cost of stopping is so much lower.
Isaac Askew: Right. Yeah. Yeah, it's like in video games where you've got your, you take a, or you save the game every so often. I guess a lot of them auto save these days. But back in the day, you'd have your little save checkpoint. And it's nice to be able to go back to the save checkpoint and not start the whole level over, right?
Jeffrey Sherman: Yeah, check. Right, yes, checkpoints versus the old Nintendo where, gotta help you if you're a Super Mario Brothers level nine and you've gotta start over.
Isaac Askew: You Yep, that's what you go back to. And everyone, it kills momentum when you have to go, oh, we have to start from here. I've quit games before because I'm like, not doing that again. But if you give me a little checkpoint, I'll keep going from there.
Jeffrey Sherman: I have, there are a few games where that last, one of the last levels is like a 30, 40 minute level. And by the third time I tried it, I was like, I'm no, I'm done.
Isaac Askew: Mm-hmm and take that the company scale where that's the six month project and you have to go back and toss all of that That might just be You're like, all right I'm done here
Jeffrey Sherman: Mm-hmm. Right. And that leads into the sort of the next aspect of the trap. So we're talking about the, it's hard to say, it's hard to cancel the trap. ⁓ it's hard to cancel because it one feels like it's admitting that you were wrong to it. There's just the, ⁓ some cost fallacy, but at three, the, have to start over, like the, the throwing things away, but that leads into number four, which is because in a lot of rewrites, especially once you and I have been on, there's a social aspect of, this stuff is terrible and I'm giving the developers an out for now. And they're going to work on something great and they're going to be happy. And it's letting them blow off steam and keeping them in the company and they're going to be happy and we're going to be happy. If you have an all or nothing rewrite and that gets canceled or has to stop, those developers are all the way back at the beginning. And you mean correct me if I'm
Isaac Askew: Yeah. Mm-hmm.
Jeffrey Sherman: wrong but like in rewrites that you and I have been involved in when the rewrite got cancelled everyone left within six months.
Isaac Askew: There were a few people, one or two people that stayed I think. But yeah, think 90 % of the team left. I think the people who stayed were people who were like long time loyal people at the company.
Jeffrey Sherman: ⁓ okay. Mm, that's But canceling a rewrite, having a rewrite part of the trap, and this is a two-sided trap, is it's very likely that everyone involved or most of the people involved in the rewrite are now on a short time basis with the company. Because either the rewrite succeeds, which almost never happens, but when it does happen, that is something that people take, put on their resumes and go get a new job somewhere else.
Isaac Askew: Mm-hmm.
Jeffrey Sherman: You're like, ⁓ my God, look, I actually did it. And I can now talk about it and I can lead this transformation at your company.
Isaac Askew: Right. But actually come to think of it, now that I think about the people who did leave, I think the people who stayed were the people who were the maintainers of the old one. So technically everybody was on the rewrite because you had to split the team. Some people were doing maintenance on the old system. Some people were doing a new one. The people who worked on the new one, those people left. The team maintenance people survived. They stayed. Yeah.
Jeffrey Sherman: Right. Team maintenance survived. Right, I think we did an episode on beyond team maintenance. That sounds familiar. Yes, everyone involved, not everyone, but most of the people involved in the rewrite are probably going to leave. And the people who approve the rewrite are probably also going to get pushed out. It's a monumental fail, or it succeeded in some marginal way, and then you lost your team anyway. It's a huge management fail.
Isaac Askew: Mm-hmm. Yep. If you Yep.
Jeffrey Sherman: And so if you're smart and cynical, you approve the rewrite and while you are, before you realize you're stuck in quicksand, that's when you go get a new job talking about your transformation chops.
Isaac Askew: Hahaha ⁓ gosh. Let's not give people that advice. That's bad. Yeah, I'm a transformation expert.
Jeffrey Sherman: Yes, it's terrible. I have seen that happen, which is why it occurs to me. Are there any other aspects of the trap or should we go back and summarize real quick?
Isaac Askew: ⁓ I guess we go back and summarize.
Jeffrey Sherman: All right. So the trap is insidious because one, you don't realize you're in it for a very long time. You know, it's not until you're at least two thirds of the way through the expected timeline of the project that you realize you're in the trap. Two, that plays into the sunk cost fallacy. By the time you realize that you're in the trap, you've already sunk a ton of time and effort, which requires you to either admit that you were wrong. Keep going and this places human psychology that's on cost which also plays into number part three Which is the social aspect if you try to get out of the trap? You're going to lose your people like the humans involved in the project are most likely going to leave if you try to get out of the trap They're eventually going to leave anyway because you can't get out of the trap and it kills you but Trying to get out of the trap will cause the human, the people, the developers, the staff, the people involved in the project to leave earlier. Which again, if you are the one who can say, okay, we need to get out of this trap instead of trying to push forward, that reflects badly on you. And you aren't gonna wanna do it because you aren't gonna wanna see your people suffer and leave. And that is why rewrites are a trap and you should not do a rewrite because you're going to end up in the rewrite trap. Never rewrite. Also, the rewrite trap is the name of our upcoming book, which should be out soonish. We just finished draft number two of three to four. I did not rewrite. We focused. I thesis shipped it.
Isaac Askew: you Never rewrite. Did you rewrite the first draft? Or did you thesis ship it? I did.
Jeffrey Sherman: You approved at least a thousand comments and changes. There's a lot of work going on behind the scenes, folks. Awesome. Well, thank you all for listening. I'm Jeffrey Sherman.
Isaac Askew: So now I'm Isaac Askew, and this is Never Rewrite.