3 Rules for Designing Lasting Habits


Summary

This episode of Developer Tea focuses on practical strategies for designing lasting habits. Host Jonathan Cottrell explains that habits are more effective than single events because they represent repeated systems that shape our default behavior over time. He emphasizes that major accomplishments are usually the result of consistent, small actions taken daily rather than isolated pinnacle moments.

The episode introduces three key rules for habit design. First, focus on triggers rather than outcomes—habits should be simple actions that initiate behavior change, not the end goals themselves. For example, instead of making “eat healthy” the habit, make “pull the salad greens out of the fridge” the habit. This creates a mode change that makes the desired behavior more likely to follow.

Second, start with “soft balls” by making habits easier than expected initially. Use a tiered ramp-up approach where you begin with minimal versions of the desired behavior and gradually increase intensity. This ensures early success and sustainability, which is crucial for long-term adherence. The goal is consistency, not perfection, especially when changing default behaviors.

Third, focus on compound and stacking returns by choosing habits that multiply their benefits over time or check multiple boxes across different life areas. Examples include learning tools like Vim that pay dividends through increased efficiency, or exercise that provides both physical and cognitive benefits. The episode concludes by encouraging listeners to design habits that create cascading positive effects in their lives.


Recommendations

Books

  • The Power of Habit by Charles Duhigg — Mentioned as an excellent resource for understanding the science of habit change and how habits work psychologically.
  • Atomic Habits by James Clear — Referenced as a brand new book that explores the concept of small, atomic habits as the foundation for behavior change and personal improvement.

Topic Timeline

  • 00:00:00Introduction to exit points and productivity challenges — The episode begins by discussing exit points—moments when people veer off productive paths into procrastination. Jonathan acknowledges that occasional unproductive moments are part of being human and encourages acceptance rather than frustration. He introduces today’s focus on practical rules for designing lasting habits rather than discussing incentives or punishments.
  • 00:02:30Habits as systems and default behaviors — Jonathan explains that habits form repeated systems that are more impactful than single events. He discusses how major accomplishments result from consistent action over time, using programming and dieting as examples. Habits represent our default ways of behaving—the automatic actions we take without conscious decision-making.
  • 00:05:48Sources and approach to habit design — The host mentions drawing from Charles Duhigg’s “The Power of Habit” and James Clear’s “Atomic Habits” as key resources. He distinguishes between external motivators (incentives, punishments, accountability) and the actual design of habits themselves. The focus shifts to the initial “zero to one” moment of habit formation and how to start down the path toward behavior change.
  • 00:07:47Envisioning future self and comprehensive life areas — Jonathan encourages listeners to imagine their future selves 3-20 years ahead, considering all life areas: relationships, health, daily activities, skills, accomplishments, and impact on others. He emphasizes that habits should align with these longer-term goals and help shift trajectories in desired directions. The exercise helps identify where habit changes could create meaningful alignment.
  • 00:14:38Rule 1: Focus habits on triggers, not outcomes — The first rule explains that habits should be simple triggers rather than end goals. Using examples like weight loss or increased testing, Jonathan shows how vague goals fail in decision moments. Instead, design habits as small initial actions (like opening a terminal or pulling salad greens from the fridge) that create momentum toward larger behavior changes.
  • 00:21:26Rule 2: Start with soft balls and tiered ramp-up — The second rule emphasizes starting with easier versions of habits than expected. Use a gradual approach—for example, going to the gym once weekly, then twice, then three times. This ensures early success and sustainability. The principle applies to technical habits too, like running tests once daily as a starting point toward higher test coverage.
  • 00:24:26Rule 3: Focus on compound and stacking returns — The third rule encourages choosing habits that multiply benefits over time or serve multiple goals. Examples include learning Vim (which improves all future editing) or exercise (which provides both physical and cognitive benefits). Look for prerequisite actions that make future habits more valuable, creating a compound interest effect on personal development.
  • 00:26:37Recap of the three rules and conclusion — Jonathan summarizes the three rules: focus on triggers, start with soft balls, and leverage compound returns. He thanks the sponsor Manifold and encourages listeners to subscribe. The episode closes with the reminder that habit design is about changing default behavior through consistent, well-designed small actions.

Episode Info

  • Podcast: Developer Tea
  • Author: Jonathan Cutrell
  • Category: Technology Business Careers Society & Culture
  • Published: 2018-11-06T10:00:00Z
  • Duration: 00:27:59

References


Podcast Info


Transcript

[00:00:00] We talked in the last episode about exit points.

[00:00:07] These are times when you might veer off of the road of productivity and procrastinate

[00:00:14] or otherwise do something that you don’t necessarily want to do with your time.

[00:00:20] And these can be really frustrating moments, especially in hindsight when we look back

[00:00:25] at our previous days actions or our previous week or even month or year.

[00:00:30] We may feel like we wasted time or we otherwise didn’t accomplish what we wanted to accomplish.

[00:00:36] Of course, we ended the last episode by reminding you that sometimes

[00:00:40] procrastination and a lack of productivity are just a part of being human.

[00:00:45] We can’t expect ourselves to be perfectly efficient all the time,

[00:00:50] and it’s important to allow yourself the space and the opportunity to be human,

[00:00:57] to have those moments that are not perfect.

[00:01:02] Because the truth is those are essentially unavoidable,

[00:01:06] and you can either be frustrated or you can accept that reality that

[00:01:12] you’re going to have an off moment.

[00:01:15] You’re going to have a difficult day.

[00:01:17] This can be used as an excuse, but I encourage you to view this as a reality to manage rather

[00:01:27] than as a kind of a dooming excuse.

[00:01:31] You shouldn’t be using it for that.

[00:01:32] But in today’s episode, I want to dive a little bit into some practical

[00:01:37] kind of rules when you’re designing your habits.

[00:01:40] We aren’t going to talk about building incentives or punishments because you’ve

[00:01:46] probably heard that information elsewhere before.

[00:01:48] I encourage you to go and do a little bit of research into incentives and punishments

[00:01:53] and things like accountability, social accountability when designing your habits.

[00:01:57] But those are not the things we’re talking about in today’s episode.

[00:02:00] We’re going to talk about designing your habits in today’s episode.

[00:02:04] Designing your habits in a way that will encourage you to stick to them.

[00:02:09] My name is Jonathan Cottrell and you’re listening to Developer T.

[00:02:12] My goal on the show is to help driven developers like you connect to your career purpose

[00:02:17] and do better work so you can have a positive influence on the people around you.

[00:02:22] And hopefully this is helping you do that.

[00:02:25] When you establish a set of habits, you’re building a system.

[00:02:30] You’re building a repeated system.

[00:02:32] This is something that is so much more effective on your life than any one single event.

[00:02:41] We do have these moments in our lives, these events, these kind of important

[00:02:46] pinnacle moments that seem to be milestones.

[00:02:51] But the truth is those pinnacle moments are almost always the result of a cascade

[00:02:58] of effects, a cascade of action over time, a continuous and committed march.

[00:03:10] Step by step march.

[00:03:12] And this is especially true for programmers.

[00:03:15] And if you’re a beginner, you know this all too well that it takes every single day

[00:03:22] you taking the time to grapple with things you don’t understand.

[00:03:28] It takes every single day of you working with people that

[00:03:32] you don’t necessarily see eye to eye with.

[00:03:36] It takes every single day of you choosing to take care of the things that you do,

[00:03:43] take care of the people you come in contact with, and take care of yourself.

[00:03:48] And this is no secret.

[00:03:50] This isn’t a special undercover secret that you don’t already know the reality of.

[00:03:57] If you’ve ever tried to lose weight on a diet, for example,

[00:04:01] you’ve heard that a diet is not a diet.

[00:04:05] It’s a lifestyle.

[00:04:06] These are things that we can do to attach to our identity.

[00:04:10] These are ways of being that are kind of our default ways of behaving.

[00:04:14] This is why we did an episode on useful defaults.

[00:04:18] A long time ago on this show, useful defaults are an incredibly important concept.

[00:04:24] The way that you behave given no exceptional circumstances,

[00:04:29] the way you’re going to behave on any given day.

[00:04:33] Right?

[00:04:34] It’s important to think about that behavior,

[00:04:37] perhaps more than any other kind of behavior, your default behavior.

[00:04:41] And that’s another kind of lens, another way of looking at habits.

[00:04:48] Habits are effectively the things you do automatically,

[00:04:53] the things you do on a repeated basis,

[00:04:56] the things that you don’t really, you know,

[00:04:59] cognitively choose to go out of your way to do.

[00:05:01] They’re just kind of in your way.

[00:05:03] They are your way.

[00:05:05] They’re your behavior.

[00:05:07] And building habits should be about thinking

[00:05:11] how to integrate these new behaviors as normal,

[00:05:18] as a new way of operating.

[00:05:22] This isn’t something that is always going to feel special, for example, right?

[00:05:28] Your default behavior doesn’t feel special

[00:05:31] because from your brain’s perspective,

[00:05:33] your default behavior is not exceptional.

[00:05:36] It’s the thing that happens the most often.

[00:05:39] These are the ways that we operate on a regular basis.

[00:05:43] So I want to talk about ways to design habit change.

[00:05:48] And again, we’re pulling a lot of this information from a variety of sources,

[00:05:53] most especially Charles Duhigg’s book, The Power of Habit,

[00:05:57] as well as James Clear’s brand new book, Atomic Habits.

[00:06:01] These are both excellent resources on understanding the science of habit change,

[00:06:06] how it happens, how we can, you know,

[00:06:09] best use our kind of cognitive psychology, our emotions,

[00:06:13] and the things that we know have worked or not worked in the past.

[00:06:18] And so that’s why I mentioned in the beginning of the episode

[00:06:22] the idea of incentives and punishments or rewards and punishments

[00:06:27] and things like social accountability.

[00:06:29] These are things that can help you be more likely to stick to your habits.

[00:06:33] But I want to talk about ways to design the actual habit itself.

[00:06:38] The very first step when you’re pulling out a piece of paper

[00:06:41] and you’ve decided the change that you want your life to reflect,

[00:06:45] the difference between your default today and what you want your default to be.

[00:06:53] The person that you kind of envision yourself being

[00:06:56] or the behaviors that you envision partaking in on a regular basis.

[00:07:01] These are things that, you know, that have to be built as default.

[00:07:07] And I want to talk to you about that very first moment

[00:07:12] when you’re trying to decide how can I make this change happen?

[00:07:16] How can I make this a reality?

[00:07:18] And sticking to it, of course, is very important.

[00:07:21] So again, I encourage you to go and do some research in those other areas.

[00:07:24] But right at that very beginning, what is the first,

[00:07:27] the kind of zero to one initial movement moment?

[00:07:32] What are you going to do to start down the path towards building this habit?

[00:07:37] So before we go any further into deciding what

[00:07:40] we’re going to do to establish these habits,

[00:07:43] perhaps it’s important for you to take a couple of minutes

[00:07:47] and think about what that person is in your mind.

[00:07:52] What those new activities are, that new behavior.

[00:07:57] Perhaps it is kind of the rejection or the inversion of an existing behavior.

[00:08:02] And it’s important that if you are trying to stop doing something,

[00:08:06] that you replace it with a new thing.

[00:08:10] But I want you to take a few minutes and think about

[00:08:15] maybe three years, five years into the future,

[00:08:18] maybe even ten or fifteen or twenty years into the future.

[00:08:23] And imagine the reality around you.

[00:08:28] What things are true about your life?

[00:08:33] It’s easy to get caught in thinking about one specific metric

[00:08:38] or one specific area of your life,

[00:08:40] but it’s important to look at all of the areas of your life

[00:08:44] because chasing one metric could cause other very important things,

[00:08:49] things that you really care about, to suffer.

[00:08:52] So I want you to think about all of the areas of your life.

[00:08:56] Start with your closest relationships in yourself,

[00:09:02] your own health, your own mental state,

[00:09:06] maybe the design of your day.

[00:09:08] What are you doing in a given day?

[00:09:11] Are you writing code or are you doing something else?

[00:09:15] Are you retired early, for example?

[00:09:18] That’s certainly an okay thing to imagine,

[00:09:20] or just anything is okay in your imagination right now.

[00:09:25] Anything that you imagine in some ideal future,

[00:09:29] it’s totally yours to imagine.

[00:09:30] So don’t let anybody kind of shoehorn you into thinking

[00:09:33] that you must climb the managerial ladder

[00:09:38] or that you must have a long career

[00:09:41] or that you have to jump into a new company.

[00:09:43] Perhaps you’re very happy doing what you’re doing today

[00:09:47] and you’d just like to continue doing that.

[00:09:50] Consider those relationships, those family relationships

[00:09:53] or friend relationships, the friendships that you have.

[00:09:57] And consider your coworker relationships.

[00:10:00] Consider what your lifestyle looks like,

[00:10:03] maybe where you live, what your hobbies are,

[00:10:07] perhaps your income level

[00:10:09] or maybe the amount that you are able to give to other people.

[00:10:16] Is there any kind of accolade,

[00:10:17] anything that you want to have accomplished?

[00:10:21] Are you wanting to get a degree, for example?

[00:10:25] Or maybe you have your sights set

[00:10:27] on some kind of physical accomplishment,

[00:10:30] like running an Ironman,

[00:10:31] or really virtually any accomplishment

[00:10:34] can fit into this category.

[00:10:38] Imagine the skills that you’ve developed.

[00:10:40] Maybe you have a different set of skills

[00:10:43] beyond just programming that you’ve developed

[00:10:46] or maybe you have a new domain that you’re working in

[00:10:50] that requires a certain skill level.

[00:10:54] Finally, I want you to think about the effect that you have

[00:10:58] on the people that you come in contact with.

[00:11:02] Now this is by no means the least important thing on this list,

[00:11:06] but it’s a good way of kind of bringing it all together.

[00:11:10] How do people know you?

[00:11:11] What do they think about you?

[00:11:13] What do they say about you?

[00:11:14] And what is your reputation when you leave the room?

[00:11:17] This isn’t to say that what other people

[00:11:20] think about you is your identity,

[00:11:22] but instead this kind of brings some focus and clarity

[00:11:27] and some context to the other things on this list.

[00:11:32] And so if you examine this list,

[00:11:35] then really you’re essentially setting

[00:11:37] these longer term goals and your habits

[00:11:40] are how you’re gonna get there.

[00:11:42] And if you look at the list,

[00:11:44] if you look at your current trajectory in various areas,

[00:11:48] perhaps you can identify places where habits can change,

[00:11:52] places where you could shift your direction

[00:11:58] to better align with your longer term goals.

[00:12:02] Now I don’t wanna belabor the kind of the middle points here

[00:12:07] from where you are today to these very long term goals.

[00:12:11] How do you get there?

[00:12:12] We’re not gonna be able to cover that in one episode,

[00:12:14] but I do wanna talk about how you get started,

[00:12:18] how you start down the path towards establishing

[00:12:21] these new behaviors that you want to adopt.

[00:12:27] We’re gonna talk about that

[00:12:28] right after we talk about today’s awesome sponsor, Manifold.

[00:12:32] Managed cloud services save developers time and effort.

[00:12:36] It wouldn’t really make sense

[00:12:37] for you to build your own logging platform

[00:12:40] or your own content management system or auth service yourself

[00:12:45] when a managed tool or an API can solve that problem for you.

[00:12:49] But how do you find the right services to integrate with?

[00:12:52] How do you learn to stitch them together

[00:12:54] and how do you manage access and credentials

[00:12:57] between multiple projects and teams?

[00:12:59] Managing these details alone is essentially a full-time job.

[00:13:04] Manifold makes your life easier by providing a single workflow

[00:13:08] to organize your services,

[00:13:09] connect your integrations, and share with your team.

[00:13:13] Discover the best services for your projects

[00:13:16] in the Manifold Marketplace

[00:13:18] or bring your own custom integrations

[00:13:20] and manage them all in one dashboard.

[00:13:23] With services covering authentication,

[00:13:26] messaging, monitoring, content management, and more,

[00:13:29] Manifold will keep you on the cutting edge

[00:13:32] so you can focus on building your project

[00:13:34] rather than focusing on problems that have already been solved.

[00:13:37] Once you have the services you need,

[00:13:39] you can deliver your configuration to any environment

[00:13:42] and deploy on any cloud.

[00:13:45] While Manifold is completely free to use,

[00:13:47] if you head over to manifold.co.co.

[00:13:56] You’ll get a coupon code for $10,

[00:13:58] which you can use to try out any service

[00:14:01] on the Manifold Marketplace.

[00:14:02] Go and check it out.

[00:14:03] $10 worth of credit.

[00:14:04] Head over to manifold.co.co.co.to get started today.

[00:14:09] Thank you again to Manifold

[00:14:10] for sponsoring today’s episode of Developer T.

[00:14:14] So we’re talking about three practical rules

[00:14:17] when you’re building your good habits.

[00:14:18] This is at the very beginning of your habit design process

[00:14:22] and this really is a lifelong thing.

[00:14:25] You’re always going to be adjusting your behaviors

[00:14:28] and hopefully you can establish good ones early on

[00:14:31] and those will cascade

[00:14:32] and we’re gonna talk about that cascading effect

[00:14:34] in just a minute.

[00:14:34] But first, let’s jump into this first rule.

[00:14:38] Number one, focus your habits on triggers,

[00:14:41] not on outcomes.

[00:14:43] The habit shouldn’t be your goal.

[00:14:48] Think about this for a second.

[00:14:49] The habit itself shouldn’t be your goal.

[00:14:52] Now, why is this?

[00:14:54] Well, if you have good goals in mind,

[00:14:56] then the habit being the goal is way too big.

[00:15:02] This is much too large to kind of bring into

[00:15:08] the scope of a habit.

[00:15:10] Think about a habit as a simple, small action.

[00:15:15] This is kind of the spirit of James Clear’s book,

[00:15:17] Atomic Habits, the idea that your habits

[00:15:20] are the smallest single action that you can take.

[00:15:25] Now, imagine trying to say that losing 30 pounds

[00:15:31] is a habit.

[00:15:32] Well, losing 30 pounds is not a single small action.

[00:15:36] It’s not even close.

[00:15:37] It’s a cascade of many actions and many decisions

[00:15:41] over a long period of time.

[00:15:43] When you try to articulate a goal as a habit,

[00:15:47] what ends up happening is the details of how

[00:15:50] to achieve that goal are left up

[00:15:55] to the momentary decisions that you make.

[00:15:59] In other words, let’s say that your goal is,

[00:16:02] I wanna lose 30 pounds.

[00:16:04] So your habit is, well, to lose weight.

[00:16:09] Unfortunately, losing weight is not really

[00:16:12] an actionable thing.

[00:16:13] So when it comes down to whether or not

[00:16:16] you eat that cookie in the afternoon,

[00:16:19] it’s easy to say,

[00:16:21] well, I can still lose weight and eat this cookie.

[00:16:25] If I do something else,

[00:16:27] if I run a little bit further at the gym

[00:16:30] or if I choose not to eat the cookie tomorrow,

[00:16:33] then I’ll be okay.

[00:16:34] And so in the moment,

[00:16:36] when you’re actually making the important decisions,

[00:16:39] if you haven’t articulated a clear and simple habit,

[00:16:44] you’re very likely to fail.

[00:16:46] You’re very likely to make decisions

[00:16:48] that don’t actually achieve those goals,

[00:16:51] that don’t actually achieve that behavior change

[00:16:54] that you’re targeting.

[00:16:55] Having a habit of wanting to go to the gym

[00:16:58] or wanting to test your code more often,

[00:17:03] these are lofty goals,

[00:17:05] but they aren’t new goals.

[00:17:07] It’s very unlikely that you said to yourself

[00:17:11] before that you were testing your code enough.

[00:17:15] You knew all along

[00:17:17] that you should be testing your code more.

[00:17:19] You knew all along

[00:17:21] that you should go to the gym more often.

[00:17:23] These goals are not new

[00:17:25] and having willpower and resolve

[00:17:28] is not going to be enough

[00:17:30] to change your every single day behavior in most cases.

[00:17:36] The truth is when you have motivation,

[00:17:38] it’s going to get you up and out of your seat

[00:17:41] for the first few times.

[00:17:43] But the gravity of what you’ve done

[00:17:46] so many times in the past,

[00:17:48] the well-worn paths that you followed

[00:17:51] and the things that are your default behavior,

[00:17:54] once your motivation dies down,

[00:17:57] your default behavior will take over again.

[00:18:00] So in order to short circuit this kind of mental pattern,

[00:18:05] I want to encourage you to adopt habits

[00:18:08] that don’t have a direct effect on your goals.

[00:18:14] They don’t have a direct effect

[00:18:16] on the actual thing that you’re measuring,

[00:18:18] the actual behavior change that you’re trying to make.

[00:18:23] Instead, your habits are very simple actions

[00:18:26] that act as triggers towards the behavior change

[00:18:31] that you want to make.

[00:18:33] Think of this as one of the ways

[00:18:34] that you can cascade your behaviors.

[00:18:37] For example, if you want to eat healthy food more often,

[00:18:42] make your habit when you get home from work,

[00:18:47] immediately pull out that container of organic greens

[00:18:52] out of the fridge and put it on the counter.

[00:18:54] That’s the habit.

[00:18:56] The habit doesn’t have to be

[00:18:58] that you’re going to eat that salad every single night.

[00:19:02] Instead, you’re going to pull out the container

[00:19:05] every single night.

[00:19:07] You’re going to get into the habit of pulling out

[00:19:09] the container of greens every single night.

[00:19:13] As a bonus lesson here,

[00:19:14] it’s important that you make those greens

[00:19:16] visible and accessible

[00:19:18] and that you make it easy to get them out

[00:19:21] and on the counter.

[00:19:22] Have a very straightforward process

[00:19:25] for making that salad.

[00:19:27] Here’s one that I’m working on.

[00:19:30] If you want a habit of getting started on your work

[00:19:33] first thing in the morning,

[00:19:35] then instead of making that your habit,

[00:19:37] make your habit that you open your terminal window

[00:19:41] and your task management,

[00:19:43] whatever task manager thing that you use

[00:19:46] or wherever your tasks are documented,

[00:19:50] open those two things

[00:19:52] before you open anything else in the morning.

[00:19:54] That’s the habit.

[00:19:56] Maybe you can automate that.

[00:19:57] Maybe you can write a script

[00:19:58] or use one of the many apps out there

[00:20:01] that allows you to launch multiple apps

[00:20:03] in a given context.

[00:20:05] Whatever you have to do,

[00:20:07] make that very simple action the habit.

[00:20:10] If you want to figure out these trigger habits

[00:20:13] but you’re not really sure what they are,

[00:20:15] then I encourage you to perform the thing

[00:20:19] that you’re trying to do once

[00:20:22] and then watch every action that you take

[00:20:24] leading up to that action.

[00:20:26] The earliest actions are usually

[00:20:29] the trigger actions that you need to take.

[00:20:32] Think of these as kind of mode changes.

[00:20:36] If you can trigger the mode change,

[00:20:39] the situational mode change

[00:20:42] that you need to follow through on that habit,

[00:20:46] then the mode change needs to be the habit itself.

[00:20:50] Think of this like the first little push

[00:20:54] to get the ball rolling down the hill.

[00:20:57] Once the ball has started rolling,

[00:20:59] it’s very unlikely that it’s going to stop.

[00:21:03] If you get the greens container out of the fridge,

[00:21:05] then you’d have to kind of cognitively decide

[00:21:10] not to eat healthy that day

[00:21:13] if you want to reverse the behavior change.

[00:21:16] We could do a whole episode

[00:21:18] on this one concept,

[00:21:19] but I want to keep on moving.

[00:21:21] I want to go on to the second rule

[00:21:23] and that is start with soft balls.

[00:21:26] Start with soft balls.

[00:21:28] Give yourself a tiered ramp up

[00:21:30] for the actual behavior you’re trying to change.

[00:21:33] If your ultimate goal is going to the gym

[00:21:34] three times a week,

[00:21:35] then set a trigger habit to get you to the gym

[00:21:39] once a week for the first week,

[00:21:42] twice a week for the next week,

[00:21:43] and then three times a week the following week.

[00:21:47] Make your habit easy to follow.

[00:21:50] And even easier than you expect it should be

[00:21:53] in the beginning.

[00:21:55] Make your habit easy to follow.

[00:21:57] James Clear says make it sustainable.

[00:22:00] It’s very important that you focus on

[00:22:02] the sustainability early

[00:22:04] because if you fall off early,

[00:22:07] you’re much more likely to just scrap it all together.

[00:22:10] If you’re successful early

[00:22:12] and you continue to be successful

[00:22:14] as you ramp up into this,

[00:22:16] then you’re much more likely to continue.

[00:22:20] So that rule is very important.

[00:22:22] You need to start small.

[00:22:24] Start smaller than you expect.

[00:22:26] And even when you feel like you’ve got it nailed down,

[00:22:29] try to start even smaller than that.

[00:22:31] Imagine that you want 80% test coverage

[00:22:34] on your project

[00:22:36] or whatever other metric

[00:22:37] that you’re trying to optimize for.

[00:22:39] Make the habit running your tests once a day.

[00:22:43] That’s the beginning of that habit

[00:22:45] as the very first action that you should take.

[00:22:49] The very smallest version of this action.

[00:22:52] Run your tests once a day.

[00:22:55] Now I’m probably going to get some pushback against this

[00:22:58] that obviously running your tests once a day

[00:23:00] is such a small thing.

[00:23:02] But if you’re not running your tests at all,

[00:23:05] then technically running your tests once a day

[00:23:07] is infinitely better, right?

[00:23:09] And so if you just add

[00:23:11] that tiny little bit of improvement

[00:23:14] and you continue to add that tiny little bit of improvement

[00:23:17] until you get to that behavior change that you want,

[00:23:20] then it doesn’t really matter

[00:23:22] where you were on day one.

[00:23:24] What matters is what eventually happened

[00:23:26] as a result of that.

[00:23:27] So allow yourself the freedom

[00:23:31] to, well, have a softball

[00:23:34] that you can just launch out of the field, right?

[00:23:37] The whole goal is to have home runs

[00:23:41] as many times as possible.

[00:23:43] And if you make the field smaller,

[00:23:45] if you give yourself an easy softball,

[00:23:48] you’re much more likely to get that home run.

[00:23:51] The truth is no one is going to judge you

[00:23:54] on how hard your habit is to keep.

[00:23:58] In fact, you shouldn’t judge yourself

[00:24:01] on if you are keeping a hard habit.

[00:24:04] Instead, focus on consistency.

[00:24:08] Remember, our entire goal here

[00:24:10] is not to become a superhero.

[00:24:11] It’s to change our default behavior,

[00:24:14] and that happens very, very slowly.

[00:24:17] My third and final rule or guideline

[00:24:20] as you’re building your habits, designing your habits

[00:24:22] is to focus on compound and stacking returns.

[00:24:26] Focus on compound and stacking returns.

[00:24:30] These are the cascading returns

[00:24:31] that we’ve been talking about a few times on the episode.

[00:24:34] When you’re determining what behaviors are most useful,

[00:24:37] you want to focus on habits that stack

[00:24:39] with your other habits as well.

[00:24:42] These sometimes are not even necessarily habits.

[00:24:44] Sometimes they are one-time actions,

[00:24:47] one-time kind of processes,

[00:24:49] maybe even purchases that you make

[00:24:51] or investments that you make with your time.

[00:24:54] A good example of this for me personally

[00:24:56] has been my editor.

[00:24:59] I spent the time to learn Vim,

[00:25:01] and the time that I spent learning Vim

[00:25:03] has paid me back many times over

[00:25:06] because it has totally changed how I work.

[00:25:10] I don’t believe that there are magic tools

[00:25:13] that make a developer drastically better,

[00:25:16] but I do believe that if you stack your habits,

[00:25:18] you stack your actions,

[00:25:20] that every bit of effort that you put in after that,

[00:25:25] you have that additional gain.

[00:25:27] It’s kind of a compound interest effect.

[00:25:30] For example, in our previous goal

[00:25:32] of increasing our test coverage,

[00:25:34] instead of having to run your tests manually,

[00:25:38] maybe you adopt an automated test runner,

[00:25:43] something that watches changes in your code

[00:25:45] and runs tests against those changes.

[00:25:48] This could be a little bit of work to implement.

[00:25:51] It could be a little bit of work

[00:25:52] to understand how it works,

[00:25:55] but that’s going to pay you back time and time again.

[00:25:58] Consider habits that check multiple boxes.

[00:26:02] For example, there are many cognitive benefits

[00:26:06] to exercise, so if you exercise,

[00:26:09] you’re not just going to reap physical benefits,

[00:26:12] but you’re also going to reap cognitive benefits.

[00:26:15] This is checking boxes across multiple goals.

[00:26:19] For me, for example,

[00:26:21] the idea here is to think about prerequisite actions

[00:26:25] or prerequisite habits that you can develop

[00:26:28] that will make future habits, future actions,

[00:26:31] even that much more valuable.

[00:26:34] So quick recap of these three rules.

[00:26:37] Number one, focus your habits on triggers,

[00:26:40] not on their outcomes.

[00:26:42] These are the very earliest actions that you take

[00:26:45] that get the ball rolling down the hill.

[00:26:47] Number two, start yourself off with soft balls.

[00:26:50] You want to be able to hit home runs

[00:26:52] with your habit forming actions.

[00:26:55] So make the field smaller, give yourself soft balls,

[00:26:59] give yourself a tiered ramp up

[00:27:01] for the actual behavior you are looking at.

[00:27:04] Don’t try to go all out right out of the gate.

[00:27:07] Number three, focus on compound and stacking returns.

[00:27:11] The idea here is to start with habits,

[00:27:15] start with good habits that pay you

[00:27:18] in dividends in the future,

[00:27:20] but also make your future habits

[00:27:22] more valuable than they would have been on their own.

[00:27:27] Thank you so much for listening to today’s episode.

[00:27:29] Thank you again to Manifold

[00:27:30] for sponsoring today’s episode.

[00:27:32] Head over to manifold.co slash DevT

[00:27:34] for your $10 on any service

[00:27:36] that you want to use on Manifold.

[00:27:39] Thank you so much for listening.

[00:27:40] If you enjoyed today’s episode,

[00:27:42] I encourage you to subscribe

[00:27:43] in whatever pie casting app you use.

[00:27:45] This is the best way to make sure you don’t miss out

[00:27:47] on future episodes of Developer T.

[00:27:50] Until next time, enjoy your tea.