chantastic.fm

114: Shawn Swyx Wang on The Coding Career Handbook

Episode 114 · October 15, 2020 · 01:08:27

Hosted by chantastic · With swyx

Sponsored by AWS Amplify and Infinite Red

Download MP3 · Jump to transcript

News!

We have a YouTube channel for React Podcast 🥳
Watch the livestream of this chat with Swyx and Subscribe for future chats!

Featuring

Links

Sponsors

AWS Amplify

AWS Amplify is the fastest, easiest way to build web and mobile apps that scale. aws.amazon.com/amplify

Infinite Red

In over your head with a React or React Native app? Infinite Red can help. They're React Native core contributors who've been designing, building and shipping apps for over 10 years. reactpodcast.infinite.red

As an Amazon Associate I earn from qualifying Amazon purchases.

Transcript

[00:00:00] Michael Chan: This is React Podcast. I'm Chantastic. In this episode of React Podcast, Sean Swyx Wang opens up about his new book, The Coding Career Handbook: Guides, Principles, Strategies, and Tactics from Code Newbie to Senior Dev. His book shines a spotlight on career patterns and practices that many of us had to learn the hard way. You know, uphill in the snow both ways. We talk about a few of my favorite lessons in this book, but there are so many that I recommend you just get it. So if you have an appetite for more, get your copy of The Coding Career Handbook at learninginpublic.org. This episode is sponsored by AWS Amplify and Infinite Red. AWS Amplify is the fastest, easiest way to develop web and mobile apps that scale. I bet that you're already using at least one AWS service to support customers today. So you're already familiar with the limitless offerings of composable services available on AWS, but sometimes all that capability can be overwhelming. You just want one thing that's intentionally designed to make modern full-stack development easy. AWS Amplify is for you. AWS Amplify takes the power and scale of AWS and tailors it to your needs as a cloud-based web and mobile app developer. Use it to spin up hosting, storage, authentication, managed GraphQL or REST APIs, serverless functions, and so much more. You can start using AWS Amplify for free with their generous free tier. It's great for you tinkerers, entrepreneurs, and bootstrappers. As you scale, you only pay for additional services you use. It's pretty great. Visit awsamplify.info/react to find a quick tutorial for React developers like us. That's awsamplify.info/react. Infinite Red is your go-to resource as a React and React Native developer. They know React and React Native inside and out. Whether your company is Fortune 500 or fighting fortune for an open coworking desk, Infinite Red can help you design, build, and ship quality apps. They've been doing it for over 10 years, and listeners of this show absolutely love having them as a friendly expert resource. Infinite Red will give you $750 when you start or refer a new project. Get expert React and React Native help at reactpodcast.infinite.red. Swyx, welcome back to React Podcast. Woo!

[00:02:53] swyx: Uh, thank you. Thanks for having me back. I think uh we do this once a year, maybe.

[00:02:57] Michael Chan: Is that- is that- yeah, I think it was like right before, uh, was it React Conf in 2019?

[00:03:03] swyx: And then the Einstein was in 2018.

[00:03:06] Michael Chan: Yeah, yeah, yeah. Was that also at React Conf?

[00:03:09] swyx: Uh, that was React Rally, uh, which is kind of like community React Conf.

[00:03:13] Michael Chan: Okay.

[00:03:13] swyx: At the time we weren't sure if React Conf was even going to be held because, yeah, I think apparently it was- it went, uh, dead for a bit.

[00:03:23] Michael Chan: Yeah.

[00:03:24] swyx: But no, I think it's alive and well.

[00:03:26] Michael Chan: Yeah. I'm kind of curious uh if they're gonna do anything online this year or if they're just gonna kind of take the pass and, you know, do it next year, get another free year out of not uh having an official concurrent mode.

[00:03:37] swyx: I think the time is over. Uh though, you know, one thing, one fun thing I I do for the React, uh you know, the subreddit, um is that I track anniversaries and next week is the third birthday of React 16. So 26th of September.

[00:03:52] Michael Chan: Oh wow.

[00:03:53] swyx: That's when, uh, React 16 came out, uh, 3 years ago. And it was- it meant- it used to be like, uh, hey, like, this, this library, you know, you could take it as a good thing and a bad thing. Like, React is not kind of- it's kind of, you know, not progressed that much, at least not changed that much, at least since hooks. Uh, but then also it's like a more, more of a marker of stability. Uh, but then they, then they went out and put React 17, I think, I think just to spite me. So I can't say that anymore.

[00:04:20] Michael Chan: Well, you know, it's uh it's not out yet. So uh you might-

[00:04:27] swyx: I suspect they're actually gonna drop it on the 3rd birthday just just to go like, yeah, like it's not it's not it's not take this too long. Uh it's pretty funny because like Sebastian has has gone on the record saying that they need to, you know, break things faster. So, yeah. Um uh but I I think, you know, this last stretch for Conqueror Mode has been a pretty challenging one. So I don't blame them. You know, we got more better things to do than bump version numbers. So.

[00:04:50] Michael Chan: Yeah, yeah, yeah. But I, I mean, I tend to agree with that. And I think that a lot of people, you know, who maybe are invested in React and, uh, you know, aren't just popping up to complain about how hard it is to like keep up with like new features, um, would prefer some of these like big headline features be tied to, you know, like major versions of React. So it's kind of a I do hope that they start to break things more and like, you know, actually get closer to like the vision that I know they all want, uh which is something that is kind of a little bit more like through and through connected to their vision instead of supporting all of these legacy concepts.

[00:05:26] swyx: Yeah. Um I encourage anyone who's interested in like front end in general to check into the CSS4 debate. Uh it's pretty interesting because it's it's a completely sort of uh uh artificial version number that they're gonna throw on top of CSS just as a marketing uh tactic. But uh version numbers matter in terms of like communicating forward progress. And I think, I think that that's what they're trying to go for.

[00:05:51] Michael Chan: Interesting. Where would, uh if anyone was interested, where would they check uh out the debate around CSS4?

[00:05:56] swyx: Just uh CSS CSS-Tricks. Uh I think they have a CSS4 uh article and it kind of summarizes the state of the debate.

[00:06:04] Michael Chan: Yeah. It's, you know, it's super fascinating. I mean, we, there is something important, you know, and I think we forget about this kind of from an engineering standpoint. Uh, we think about numbers very literally, right? Like is this, you know, is this just a patch? Is it, you know, a minor? Are we adding a feature? Or is it like a major? And like we forget that, you know, humans love flags, right? We love to have something that we can rally under and be like, I'm on, you know, version X of this thing. And everybody knows that version X is the encapsulation of like, you know, these 5 flagship features. And um you know, there's something very human about kind of like acknowledging like, hey, maybe there isn't technically a breaking change, but there's a breaking like mental model or like we're investing in like a different way of thinking about this thing and the best practices have changed. And that's enough to say this is a new thing.

[00:06:53] swyx: Yeah. Uh, I think Dan Abramov from, uh, you know, is is pretty is pretty animated whenever he talks about SemVer as a social contract. So, uh, I basically just parrot him every time this this topic comes up.

[00:07:06] Michael Chan: And what is what is that?

[00:07:07] swyx: It's a social contract because, you know, SemVer, people people get really upset when you like break stuff and then it's you call it a minor when it when they think it should be a major or whatever. Yeah. Um, but it really like SemVer is as specific as what is this piece of software supposed to do? And given enough users and enough scale, all software is is underspecified. Therefore, um, we don't really know what it's supposed to do. Therefore, SemVer is just communication between maintainers and users.

[00:07:34] Michael Chan: Yeah, yeah, yeah, yeah. It's not a legal contract. So you've been busy at work and I'm gonna- I'm just gonna make a hard switch. We could talk about React all day, but that's, that's not why we're here. Um, and I'm really excited about the work that you've been doing because it actually transcends some of the reasons that we usually get together, which is to talk about like technical stuff. Um, and you're talking about how people actually make a career in around coding and all of the things that they would need to know, all of the the avenues in which they could take to get there, what it looks like in like different styles of work and different technologies and how to, you know, choose stuff. So I want to ask you, like, just, you know, for anyone who's not familiar with it already, tell me a little bit about, you know, the Coding Career Handbook and like what it has meant to you over the last, you know, year specifically, but maybe even, you know, 3 years before that.

[00:08:28] swyx: Yeah, um, thanks for giving me the opportunity to talk about it, uh, because it's really hard to- it's really awkward to pitch my own career advice. Um, so it's better- it's better to have it to someone- someone to talk it through with. Um, and it's also really weird to- to talk about it, given that, you know, everyone knows that I haven't been in the- in the software industry that long. Um, but, you know, I've objectively done well. Yeah. But like there's there's still a lot of stuff that I haven't- I don't know. So it's like a very weird thing to to write. Um and I think the the main reason I wrote it was, A, um the the "Learn in Public" essay that everyone knows me for, um is just like objectively the the the most sort of impactful piece of writing I've ever done. Yeah. And so when I when I sort of thought about like what else do I have to say about this this this idea, and and I think I think there is a lot that goes beyond just learning in public. Um, and I think that actually is is the more interesting stuff that I always want to talk about. Because, um, especially like, you know, the the more you sort of uh get familiar familiar with programming, with frameworks, with libraries, with languages, um, you realize that they're just, you know, what probably matters on on on a longer-term basis is uh sort of meta skills, like uh the the the the skills around the coding. Yeah. And I think I think I got this phrase from Charity Majors. Uh she says like the coding is always the easiest part of the coding career. And Charity Majors is the CTO of Honeycomb, used to work at Facebook, and I think was an early employee at Parse. Um, anyway, so, so yeah, like, and then, and then, and I think another founding ingredient for like why I was like, okay, this is a project that I should work on, was I did a survey of every public engineering career ladder. So like, time to time, some some companies actually public publish what they use to evaluate their own engineers and promote. Um, and so I have a list of like 30-ish, um, engineering career ladders, actually not that many, right? Like there should be more. But anyway, so, uh, like, I mean, this is not like confidential. We should we should normalize making it public. Anyway, so I studied all of them and I realized that like, you know, the way that people evaluate their software engineers, especially the more senior you get, um, about only about 1 in 4 of the the criteria are actually technical in terms of like your technical competency and leadership. Interesting. Everything else is about like working well with teammates, having business impact, understanding the bigger picture. Like, quite frankly, like 75% of what you're evaluated on as a software engineer is nothing to do with code. It's- you have to have technical knowledge, but then you have to apply it to uh your organization, your team, um, and maybe, you know, at the more senior level, your industry. And I think uh that that's an that's an interesting insight that, like, you know, uh at the at the end of the day, you know, we are code-enabled humans. And then- Mm. And we try to apply that to to to other stuff. So, so it's like that, that uh, that realization. And and then there's the question of like, why now? You know what I mean? Like, um, and and I think it was an observation that I— uh, because I had 2 months off between leaving Netlify and joining AWS where I am right now. Um, uh, this is the only time that I will ever write a book like this. And I think uh, mostly, mostly it's it's this— it's it's focused at this idea of like, let's- Let's target this junior to senior transition and try to really nail everything that people should have this understanding of as they transition from junior to senior. And I think most people- like the reason that no- like there aren't that many books that exist in this process is that people don't really stop to write books about it. You know what I mean? Like, there's a lot of books about like technical interviews and like cracking the coding interview and all that. And then you get the interview and then you're- you're like, you know, you're starting off and then there's a void. And then- and then you get really, really senior architects uh writing about, like, I don't know, like clean code and and uh whatever. Um, but like, you know, like there's there's no there's no sort of in the middle books um to and and to to to help you make that transition. And I thought uh that's that's really strange. So I thought I'd just give it a go, um you know. And this is the first version of it. I just put it out this year. Um, my intention is to just refine it every year. You know, I I know it's not as good as it could be, uh but with the help of, you know, the uh now over 1,000 readers that I have. Wow. Um try try to uh try to make it better every year. And uh you know, maybe it's not the best book for junior seniors this year, but in 10 years it could be, you know. Um so I think it's it's it's it's I'm trying to live that whole philosophy that that I'm that I'm uh describing, which is kind of uh you'll never be you know perfect on day one, but like you just make a make a small step and then you sort of um keep pushing the boundaries as you go along.

[00:13:07] Michael Chan: Yeah. Well, I love- I mean, something that has always struck me about this like notion of learn in public, because it is- it is just speaking personally, antithetical to the way that I- I live. Like I am one of those people who just wants to like get it all polished, get it all nice, and then like just kind of like, you know, have- have this thing wrapped up in a bow and like put it out there. Um, but I- I think that that is- I mean, just maybe like an old way of thinking about things. Because I think that the way that you think about stuff is- is so well-suited for right now, um, where people want to, you know, you you you've mentioned that you you feel a little bit like, uh, maybe nervous, I guess, about being the person who's writing this book, you know, about the junior to senior transition, um, because you haven't, you know, it hasn't been, you know, this isn't a story that happened like 15 or 20 years ago, right? Exactly. Like it it happened relatively recently, um, but, you know, embodying that philosophy, like people actually get to see that like this is real. Right? Like this isn't something that you've you've kind of rewritten in your head to like sound better than it is over the past like 10 years. Like it's fresh because like they actually saw it happen. Like you know they saw what you know things looked like a year ago or you know like you know 6 months before that. And um seeing that progression, like people seem to be invested into— um you know they they have like a a piece in the in your success and know that it could also work for them as well. Have you seen that in the people who have enjoyed your book, that they've actually enjoyed seeing like the progression of you over these years?

[00:14:42] swyx: Uh, definitely. Uh, you know, there there there is sort of staff and principal and CTO level people who have bought the book and and told me that they enjoyed it regardless. Um, and it's it's pretty it's pretty, you know, um, I guess, rewarding to to hear from them. But I also kind of don't care about external validation. You know what I mean? Like. If this is true, then it's true. Like, who- yeah, why does it matter who says it? Do you know what I mean? Like, so there's a, there's a, you know, I think we want to have this comfort of like there's some credibility behind the what the person's saying, but ultimately it actually doesn't matter. Like, it just matters if, if it's right or not and if it's useful to you. Um, so it's good to have some, but I'm sure like I, I also have people who don't think I'm qualified to write a book. So- Sure. That's fine. Like, yeah, they're entitled to their opinion, but I'm entitled to also publish and try my best to articulate what I think is true. I think everyone should. Like, I think if you don't agree with a single word, you should still write your own set of principles, you know what I mean? Like, that that is that's just regardless of of what seniority level you are. Um, yeah, so so I think I think that's that's true. I also want to push back on that on that idea of like, how not learning in public is is maybe old or something. Like, I think there are different different levels of learning in in public. And and so, um, I I definitely don't— I so I always make the point to say that learning in public is not for everyone. Then and there's different degrees of learning in public. Um, and even even when I even me as sort of like principal advocate of this thing, um, I don't I don't think you should live the majority of your life in public. Like, so. Like, I'm I'm just saying, go from 0% public to like 1 to 5 to 10%. And even that is like a big lift for people. But like,

[00:16:27] Michael Chan: yeah,

[00:16:27] swyx: I like, I'm trying to wake people up to the idea that your your default has been zero and it doesn't serve you well. It does not serve you well.

[00:16:34] Michael Chan: That's it. That's that's interesting. And I I I can definitely latch onto that because I mean, just even recently, we've been trying to like do something a little bit different where we like put, you know, livestream some of these conversations to YouTube. We're doing that right now. And that has been like me kind of turning the dial up from like totally private. I have control over like exactly how like I am perceived, you know, if I stutter over a question or whatever, like it's under my control. I can cut it out, try again, no big deal. Nobody knows any better. Um, and, uh, you know, but that is kind of in a way just turning the dial up from like, you know, zero to one. It's like, okay, well, it was all private before. We're just gonna expose a little bit of this and see, you know, see how it goes.

[00:17:12] swyx: Honestly, if you speak at all, I think you're you're already like way more public than than most. Sure, sure. And I, I also think that at some level of audience reach, like, with, you know, with great audience comes great responsibility. Um, you, you owe- you do owe it to your audience to sort of moderate how much you put out there that's totally raw and unverified and unchecked.

[00:17:34] Michael Chan: Yeah.

[00:17:35] swyx: Um, so you need- you do need some polish at, at, at some scale. Um, but it's probably a lot bigger than people think. Uh, people think that, like, you know, 20,000 Twitter followers is big. It's not. It's it's nothing.

[00:17:46] Michael Chan: Yeah. Well, especially since they're only seeing a subset of your tweets anyway, like on any given day.

[00:17:51] swyx: Correct. Yeah, so like, um, you know, like, you you should you should always like be like kind of like on the edge of what you're comfortable with and and just kind of pushing that. Uh, but definitely, I'm not saying, you know, publish everything sort of half done, uh, super low quality. Uh, I I definitely don't want to be the cheerleader of that either. I I do encourage polish. I just also think that uh the default mode of- like, I'm trying to correct for the default and the default is private. That's all. You know what I mean? Like, of course, try to polish things if you can.

[00:18:21] Michael Chan: Sure, sure. Yeah, and I think that that's a really good good distinction, right? Like, it's not that you are trying to put misinformation out or like bad quality work. It's just that like when you learn something, don't be afraid to share it. Um, at the place that you're in. You don't have to be an expert before you start sharing things. Now, I'm kind of curious. You've mentioned that people, you know, have responded like, you know, what is- what right do you have to write a book? And that seems kind of odd to me because, you know, effectively you're writing a manuscript and like distributing it for people who want to, you know, want to buy it. What is it that you think that people, I guess, have in their mind that that makes this like a some type of sacred ground that is only available to, you know, elites.

[00:19:09] swyx: It's a fixed mindset. So, essentially in their minds, there can only be like, I don't know, 5 books in the world about computer coding careers and they should be written by Linus Torvalds, like, you know, uh, Jeff Dean, like, you know, people who've who've had like 6 decades of making it in life. The funny thing is these guys are not interested in writing career advice books. You know what I mean? Like, uh, so, so I think one thing is to fix fix this growth mindset, like not having, you know, saying like, I only want- I think what what they're telling- what I hear, so, you know, when I launched, I launched on Hacker News and I got to page- I got to page 1 and it did what did well for what it was, which is, you know, a a a pretty expensive book. Um, what it what I hear when people comment these things is that they're just not my target audience, uh, and so I don't pay them any mind. I think that people who are creators, like you are a creator, so everyone- every podcaster that I explain this to don't- doesn't really get it because you're sympathetic to the idea of what it's like to create. But these people who don't create lurk in the comments and then they tell you that they're not your target audience. So, I just don't pay them any mind. Their opinions, uh, good for them, um, but they don't have to affect me.

[00:20:23] Michael Chan: Yeah. Well, I asked because I know that this is probably one of the biggest reasons that people hate learning in public is because especially for the type of work that you know, is represented by, you know, you know, coding. Um, when you learn in public, you open yourself up to criticism from this whole class of kind of like classic programmers maybe, um, who are really just kind of like constantly like judging uh your- what is it? Credibility or like ability to be like like sharing something. Um. And so, it feels like you're kind of like living this thing that you're actually recommending to people. Uh, what are some like tactics that you employ for not taking it too personally and continuing to create and publish anyway?

[00:21:10] swyx: Um, it bothers me, right? Like I read it, it does it does get me down, gets does get my feelings. Um, so, one of the- something I I actually have a chapter on, I have a section on my book called Dealing with Haters. And this one actually comes from Paul Graham, who founded Hacker News, so he knows a thing or two about uh dealing with, you know, disagreeable comments. Um, and you just remember that just there's this hierarchy of how people engage with arguments, right? Yeah. At the at the basis level, there's sort of name-calling and ad hominem, like I'll attack your your your character instead of attacking your point. Uh, and then there's sort of uh trying to sort of responding to tone, like I don't like the tone of your thing instead of like Uh-huh. I don't- I don't- you know, you're- you're- the fundamental point that you're making is wrong. Um, and then it goes all the way up to refuting the central point. So like, what- what level of disagreement are people engaging with you with? So if they- if they're just attacking your character, your- your backgrounds, and not really disagreeing with your point, um, then, you know, that's the level that they're choosing to engage with, and you don't have to respond to anything on that level. You can just choose to uh be better.

[00:22:16] Michael Chan: It's an interesting tactic. So, you can look at that chart and we'll find a we'll find a link to that chart, but you can look at the chart at Triangle and basically decide at which point you want to engage with people and just disregard the rest.

[00:22:26] swyx: Yeah, just have a filter, right? Not everyone's opinion is equal.

[00:22:30] Michael Chan: Yeah. Now, I want to go back to something that you'd mentioned, and this good this ties into like the necessity for a book like this that talks about that junior to senior transition is that most of what differentiates a junior from a senior is not like raw coding talent. Um, and I want to press into that because I think that that might be one of the most important things that that we covered today is like what are those things? Uh, like if it's not coding talent, I mean, obviously there's there's a certain level of cost of entry, right? Like you have to be good enough at coding- Yeah. —to be able to progress. But It sounds like you're saying like, there is a point where you're good enough, and then it's these extra qualities that actually take you up the ladder.

[00:23:14] swyx: Yep. Um, so the the point at which you're good enough is essentially, can you be given- can you be assigned tasks and independently execute without supervision? Uh, that's the bar that a lot of people stop at for what is a senior engineer. Um, and that's a- it's a pretty good bar. It means that, like, you know, I can- I can- the buck stops with you. I can hand you a Jira ticket, a project, whatever, and trust that you'll take it from beginning to end. And if you- if there's something that's a- that's a dealbreaker and a blocker, you will- you will throw the exception instead of suppressing the exception. So I think that's a- that's a pretty good uh contract to have with your uh senior engineers. But then there's also like a lot of, uh I guess, non-technical bars. And that's- that's kind of what I discuss in like the junior and the senior section. Um so it's- For example, one of the one of the other descriptions of senior engineers is that they uh sort of they're multipliers for the rest of their team, right? So they they help to train other other engineers. Um they help to work on infrastructure that um I guess I guess enforces code standards or builds the the architecture that sort of prevents a lot of uh technical debt in in future. Uh help they they know how to migrate between legacy and uh systems and and and new new tech. Uh, I guess, new solutions that that they're trying to adopt. Um, those are all, you know, very, very desirable qualities of a senior engineer as well. Um, so I, you know, in in the book, like, I actually kind of break it down to 4 broad topics. So like, it's kind of like code. Sure. There's code, code-level stuff. There's learning, um, how people, how seniors learn versus how juniors learn, how uh juniors behave, so behavior. Uh, and then the last part is how they impact their team. So code, learning, behavior, and team. And I have, you know, any any any number of uh comments on each of those sections, but I just wanted to keep it high level.

[00:24:58] Michael Chan: Yeah, absolutely. Well, something that I find interesting that you you mentioned, and I I think I have been um just processing this a lot over the last couple years, is something you specifically mentioned about the ability to migrate from legacy um tech to new tech. And I think that we see this a lot. Um, there are a lot of tools out there now that kind of automate like code standards, right? And, you know, with the goal, I guess, of kind of communication and participation and like making things better. But a lot of times they kind of like create arguments or like artificially restrict what you're able to do. Um, and it sounds to me like something that you learn along the way in this transition is kind of the nuances of those things. Like when it could be a good time to like implement something like this. The nuance of like, you know, well, hey, we're really excited about Technology X, but how do we get there? Not just like, hey, why don't we rewrite everything? You know, because like there's a respect for like how hard it is to have done the thing in the first place. Um,

[00:26:02] swyx: yeah.

[00:26:04] Michael Chan: Could you talk to me about a little bit more about like kind of that migration mindset and um kind of sustainability and how that plays into the senior role?

[00:26:11] swyx: Yeah, I I think, um, I'm not sure who, who wrote this, so I'm gonna kick myself once I remember. But essentially, like, you know, uh, as engineers, we're like, we, we are, we kind of like our- so someone made the analogy of engineers to architects. Like, we like to knock, bulldoze everything from scratch and then just build from, uh, build from scratch, you know? And, and, uh, and it's, it's pretty apt. Like, whenever we see technical debt, like, we hate it. Like, you know, it's like, oh, this is, you know, this is using, I don't know, like, uh, uh, React mixins and those aren't cool anymore. Uh, render props, those aren't cool anymore. Sure. So let's, let's just like, you know, take a take a cycle and then just like refactor this whole thing. Uh and it really takes some level of maturity.

[00:26:52] Michael Chan: I mean, I'm in apps that are using Hamil, so.

[00:26:55] swyx: It really takes some level of maturity to say like, no, like, yes, like this is a this is a pain and we have to kind of, you know, deal with it. But like, that's not so important right now. This is a this this is, um and it takes takes some some judgment to make that call, but then also sometimes to make the opposite call and and go like, yes, like Okay, it's gone to a point where this is actually actively slowing us down, and if we slow down, we can speed up later. Um, so, um, that, that is a, that is a conversation that, uh, needs to happen. Um, and it also means, because as a senior engineer, you're like, you're not actually the only stakeholder in this. Like, you have to be able to sell this to product people, to your CEO, to your, to marketing people, uh, who don't care about your tech stack, who don't care about your codebase. So it's, it's a lot about persuasion, persuasion as well. Um, once you've made, even made got the internal buy-in among your engineering team. And that's hard enough, because a lot of engineers uh love to break shit. Um but yeah, I mean, I I think I think that's that's a that's a sort of very high-level view of like, you know, what that what that looks like. Um and then I you know I also talk about like some sort of migration strategies. I really like, um you know, something that they do at Uber and Facebook, which is just extensive use of feature flags instead of long-lived branches. I like that idea as well. And it seems like the the the industry is kind of slowly uh moving that in that direction. As uh and uh uh but but so so in in other words, like feature flags as a way to sort of test in production, to uh migrate everything in in a single codebase, and then eventually delete uh with without uh much uh disruptive change. Uh but it works until the point where feature flags become technical debt themselves instead of methods- instead of a means to clear technical debt. So Uber actually wrote a tool to automatically scan through, like, I think they had like 7,000 feature flags, and then they- Oh my gosh. They scanned their codebase and then they were like, okay, 2,000 of these are actually not in use anymore, we should delete them. So, um, yeah, solutions- solutions can work at a certain scale, and then once you get past an order or two of magnitude, uh, then they will stop working because they just weren't designed for that solution. So then you need to know that you need to change solutions at that point in time.

[00:29:06] Michael Chan: Yeah, I like how you touch on the importance of persuasion, you know, which is basically internal sales and marketing and how critical that is to- how critical that is to like demonstrating ownership over something, like actually taking ownership of of the thing and demonstrating that you can take it from, you know, this point to the next point, whether that be a full like ground-up rewrite or some like long-lived migration strategy. Um, how do you see people demonstrating persuasion um in these 4 groups that you've talked about, like, you know, like code, uh learning, behavior, and team?

[00:29:45] swyx: Uh, that's a tricky one. I mean, I I think I think this is more- I mean, I was I was just thinking more about migrations and and uh technical debt in general. Whereas this this sort of 4 aspects, it was was just more— uh these are these are where I notice the biggest differences between junior and senior are, and um in my attempts to really condense and summarize a multidimensional thing into 4, uh those are what I landed on. So I didn't- I don't really have a strong view on on that, on the— uh on how persuasion applies to each of these things. I don't— uh that's a— that's a- that's something I have to think about for sure. I think- Okay, cool. Yeah, yeah. I'm just gonna take a pass on that.

[00:30:22] Michael Chan: Yeah, totally. Yeah, it's kind of a weird question. I mean, I uh I think it's something that I'm- I'm maybe independently interested in, but um I want to I do want to kind of tie in some of these um ideas. Um behavior, like that is a that's a big thing. And I think we did kind of touch on that in in um kind of the way you think, the way that you decide to roll out a decision, how easy you think it is to maybe theoretically roll out some type of thing. How do you think about behavior as as representing you and being able to take- like be a vehicle for taking your career kind of like up the ladder?

[00:31:00] swyx: Well, you know, people really- people remember what you do, you know, and and and talk is cheap, but it's definitely more about what you do than than than anything else. Uh, I I don't- I kind of don't view it as like doing anything in order to be perceived as doing the thing is very performative.

[00:31:19] Michael Chan: Okay.

[00:31:20] swyx: You should just do it because it's the like the the right thing for you at that point in time.

[00:31:24] Michael Chan: Sure.

[00:31:24] swyx: So that's kind of how I approach this thing. You know, uh, yeah, it's it's very much like, honestly, like, you know, instead of instead of trying to look good, just just do the right things and hopefully it will end up looking good more more often than it doesn't look good. And I think that's much better than than trying to skip to the end result of of uh just looking good in in in in the end result. So so that's why that's why I try to uh talk about things like, uh The other thing I also like to like to push back on is a lot of people, when they're asked like what when they're asked what's the difference between a junior and a senior engineer, they always sort of cast the junior engineer as like the bad engineer and then senior as the good engineer. Um and I try to push back on that because I I I think, you know, probably the only the only sort of definitive difference between junior and senior is the pay scale. Uh and the rest, like you could be, you know, on everything else, you can have multiple dimensions and You can be more junior in some things and more senior in other things. So I I definitely sort of wanna wanna push back on on like this artificial divide that I've hooked onto essentially for marketing purposes. Sure. To not actually internalize it too much, because that creates this artificial mentality of like, either A, I'm a junior, therefore uh I suck at everything, or B, I'm a senior now, I have nothing to learn from juniors. Uh and that could not be further from the truth. Um so so yeah, I mean, you know, I think I think one of the things that I that I really like to talk about as well is is, you know, I'll pick on one of the behaviors, right? Yeah. When evaluating technologies, uh juniors will will typically like look at the developer experience based on like the getting started. Like, look at this awesome talk, look at this getting started, look at this Hello World, look at all the other people who use it. Uh that's great. Whereas the senior engineers um might look for- they they like they've seen a lot of these and they've seen a lot of it not work out. Um so they'll look for hidden costs in in terms of user experience and in terms of abstraction leaks. Like Um, all abstractions are leaky. Like, where does where does this hurt me? Like, a lot of times their first question will be like, okay, like, this all sounds great, but what's the what's the catch, right? Um, and if if you don't get a very convincing answer as the catch, they know that you're trying to bullshit them. Like, um, whereas, you know, it's very, very rare that you have a complete free lunch, right, in in tech. Like, it happens, but it's it's it's super rare. Uh, but you also start to care about user experience more than just developer experience, right? Like. As a big- as a beginner, I knew- I know that, you know, the first thing for me was to get up and running the fastest with a React app. Um, whereas a senior engineer will be like, okay, wait, hold on, like, my bundle's like, you know, uh, 2 megabytes right now, like, what, what are we doing here? Um, you know, like, so, uh, we, we get that, especially like we just had the other- the other day, we just had one of these discussions in, uh, the React Reddit. And I think it's healthy for both these things to exist, because when you're trying to get going, you're just trying to get going. You should not have that many uh concerns uh handed to you at that point in time. But yeah, that's one example of how I think behaviors change as you sort of uh grow in capacity, as you as you uh start to have a little bit more personal experience.

[00:34:23] Michael Chan: Interesting. Sorry, I I totally didn't understand that framing of it until you described it to me. So, I probably shouldn't have started asking questions until I knew a little bit about the framing a little bit better. Um, I do like, I I do think that that's really interesting. And and I'm I'm curious, you had mentioned that in a lot of cases, you know, these these the differences between a junior and a senior are multidimensional and it's really hard to say like they're, you know, apart from trying to help people develop their skills in these dimensions to say like, oh, these are the strict characteristics of someone who's starting and the strict characteristics of someone who's further along. Um, I'm curious, in an ideal world, How would you see it like described or how would we like live in a way where we're able to like pull, draw from the benefits of someone who is new to the career, but then also like draw from the benefits of someone who has had that experience? Um, what do those communications look like, I guess, in an ideal world?

[00:35:24] swyx: Yeah. Um, uh, so I think, so first of all, I think as an industry, we need to have a lot more apprenticeships. Uh, it's ridiculous that we have this like big gap between like, okay, you are, you know, you just graduated from boot camp or college and we're immediately hiring you as a full-time engineer. A lot of people can do that, uh, but even, but, you know, a lot of people cannot. And and they they spend a lot of time sort of uh trying to find their way, but then also getting to jobs that they, that may not be that good for them. And I think having an intermediate path of uh like normalizing apprenticeships in in tech would be a good idea to to sort of uh. Uh, build that, build that bridge.

[00:35:58] Michael Chan: Yeah.

[00:35:59] swyx: Anyway, so, so, um, the other thing that I also think about when you, when you ask about this, uh, this stuff is sort of like this stupid question safe harbor, uh, which I know, you know, in our prep that you, that you like to talk about, uh, which is essentially like, uh, I borrowed this concept from acting where if you know that you have a known flaw, you just call it out and say that like, I know I'm about to say something stupid, but, uh, And then, and then you just say your stupid thing. And most likely, you know, you're not the only one thinking that, or you're not- Yeah. You're not the only one with that same question. But like, you also communicate that, like, yes, like, I understand on some level this is like, you know, this is kind of like a confession of weakness, but, um, being able to embrace that weakness, like, kind of owns that. But it also lets, lets, uh, it also like puts the ball in the other person's court. So like, if, if you're a more junior person saying this to a more senior person, Now the senior person is challenged to explain this to you, and if they can't do it, it's their fault, not yours. Because the senior developers, you know, should be able to explain complex things in simple fashion. Otherwise, they don't understand what they're talking about. A lot of people uh cannot. So I think so I think that stupid question safe harbor, you know, is is this idea that like um you can invoke it, just say like, you know, just lampshade it. And that's that's one of the tactics that I uh talk about in the book as well.

[00:37:16] Michael Chan: Yeah, I I mean, I I can say like from, you know, one of my favorite pieces of advice is advice that you gave on this show, I think the first time you were on, we talked about that a little bit before we hit record, um, was that like you can- you're gonna say it better than me, like being able to sacrifice your ego for learning. Like what's your quote on that?

[00:37:35] swyx: Uh, yeah, you can learn so much on the internet for the low, low price of your ego.

[00:37:39] Michael Chan: Yeah, and I think that it goes both ways, right? You know, if you're the If you're the, you know, junior talking to a senior and you're feeling insecure, leading with that insecurity and being like, you know what, let's back up a second. I don't actually know what we're talking about. And like, would it be weird to think about it like this? And like starting the dialogue from that angle. But then also, you know, from that senior side of saying like, hey, um, I actually am not totally sure that I know all the places that we're, we're using this thing and like, you know, how it's being used and like the places that we need to extend it and whatnot. And so instead of just telling you how to do something. I'd love to learn from you on like how this thing is being used.

[00:38:16] swyx: Yeah, uh that's, that's, and that's totally valid as well. I think, I think, uh being able to essentially enable all forms of communication, uh so not just like junior to senior, but just like, uh it, like what programmers do a lot of things to avoid talking to other humans. Um so, and, uh I think if we, if we, if we like talked more, we, we, we would be able to facilitate knowledge transfer, but then also Um, be on the same page before we start committing code, because that will save a lot of, you know, more code in the future, uh, undoing it, the, the misunderstandings that we have. Um, yeah, and it's hard, especially, especially as, as we go remote. Um, a lot- there's a lot less opportunities for, for communication and agreements, uh, especially in body language, but then also in just opportunities to, to hash out stuff. So, uh, we should, uh, you know, I try to encourage this as well, like, do, do more writing, just In general, like, when in doubt, just write stuff down, uh, send it to people. It scales yourself. Uh, it also notes down your, your questions for future you, you know, but also, you know, future other readers as well. And, uh, I think, you know, something I appreciate at Amazon is that there is a very strong, um, uh, emphasis on writing, to the point that we ban PowerPoint, uh, at- in internal meetings, right? Uh, write the memo, uh, try to explain and give narrative context to everything. And I think that's uh that's important.

[00:39:38] Michael Chan: Yeah. One thing that I really love about your writing in general, um but then also in this book, is that it's a tremendous resource to other resources. And uh there's a lot of quotes, there's a lot of references, um a lot of, you know, there's a huge bibliography of resources that you have gained wisdom from and kind of consolidated into this book. And I want to talk about like that process, like being someone who has, you know, learned publicly, how important is it to like, I guess, like piggyback off of the work that other people are doing? Or I guess, more importantly, spotlight it as you're learning from them.

[00:40:17] swyx: Yeah. Part of it is attribution, like, this wasn't my idea, I should quote the original source because, you know, thank you for them for coming up with it. But then also part of it is is a strategy for dealing with my own imposter syndrome. Because you don't have to believe me, you can believe this other super experienced person. And and then and then then I can sort of step back and be like, I'm the curator, you know, I I kind of put everything in context and give you some nice intro to link ideas together. Um, yeah, so so that that that, you know, even even there is like a it's like a value-add that I think that people really appreciate. Um, it's it's prob it's probably consistently shouted out as one of the the biggest surprises about the book, because I don't talk about it in In the landing page, so I should probably do that. Um, I'm, yeah, you know, I'm terrible at this. This is my first time selling something like this. Uh, but anyway, so, so, yeah, I think, I think the other thing is also understanding that uh there's a rich history to a lot of these ideas. It's not just one person talking. It's definitely a crowd of very experienced people who all have, you know, converged on the similar ideas. Um. And they're like, to me, that means that they're not likely to change. And I really love investing in things that don't change. It's much better than- you know, people always like want to know like what's what's gonna be different in 5 to 10 years. And like the the Jeff Bezos line is like, I'd much rather invest in things that don't change, because then I can just throw- like there's no possibility of overinvesting. Like you you you would just be early instead of wrong. Um and and I think that's that's an interesting insight as well in terms of like In the battlefield of ideas, these are the things that have seemed to have stood the test of time, which I kind of have picked up the term Lindy effect, like the which is uh the the the expectation that things that have lasted for a while will tend to last long a bit longer, um just as a statistical estimator of their longevity. Um so so those those are those are things that I uh I really like to think about, and I really like how you linked it to pick up what they put down. Because I didn't really think about it in that way of in terms of borrowing credibility, but it is. Um, you know, when you're getting started as a blogger, uh, one of the most high leverage things you can do is that you can summarize the key books in every in in your field, in your chosen field. Every book, every industry has like their Bible, you know, their their their equivalent of like the books that everyone should read but doesn't, you know, they they they don't, just in general people don't read every read it through. So what you can do as a as a beginning blogger is to read the whole read the whole thing through. You not only have a much better retention of of what um you know that source content material is, uh you also get to build your audience. Um no nobody has to care about who you are, they just have to care- they they know that the book is already important and good, uh you're just helping them get there. Um and as a voice, uh you know if you if you do a good job of it, then you get start to build your own name as um someone with taste and someone with uh with the ability to to make things relevant for people. Yeah, so, uh, but then, uh, the the the pick up what you put down idea, you know, which is one of the principles, and it's probably one of the most highly referenced principles after uh learn in public, uh, is is this idea that you should actively engage with with the with the mentors, right? Like, a lot of people, you know, I think they they say that, uh, you know, uh, I'm looking for mentors, or like they set up these platforms where you can apply for mentor and mentee matching. It's a job that like is very ill-defined, and of course it's unpaid, but it's just it's just ill-defined. That's the real problem with it. Like you you uh there's no contract where like, is the mentor supposed to come up with some sage life advice that you could go apply and then they'll just fix your whole career? Like no, like we all know a little bit of things and uh we all have some self some some measure of self-interest. Um yes, I I want my mentees to succeed, um but I'm not I'm also not responsible for their all that they do and all that they're interested in. So I think it's better to just engage with individual mentors on a like a one-by-one, project-by-project basis. And and if it ends up that you keep working with them, then you kind of work your way into being a mentor- a mentee relationship, rather than like, hey, will you will you sign this like, you know, unenforceable contract on day one, and then and then we'll we'll work to we'll agree to work together. I don't think that's the way that two, you know, sort of sovereign individuals kind of should should work together. Um, but I think it's this- and then I think I want to sort of close it by talking about this idea, like, what is the number one reason that people stop blogging, they stop learning in public, is because they don't receive feedback. Like, you should not care about feedback in theory, but we're all humans. I care about feedback. Yeah. Um, and when you- when are you guaranteed feedback is when you respond to someone, something that someone else already did. Like, that's- that's when, you know, as a whole, people don't respond in general. Like, this is called the, like, the 99% rule. Um, uh, you know, most people just lurk and and consume passively. If you engage with anyone at all, you're likely to get a response, because that's the contract for what people put out. Um, and people recognize when you when you come back repeatedly as as someone with quality. So like, um, you know, if someone puts out a a blog post, or um, you kind of go through it and give comments. Uh, if someone puts out a new library, you actually try it out and you report bugs. Um, you know, so on and so forth, right? And I think the more you- the more you sort of engage, the more you become a collaborator, you become a friend, and you become a peer eventually. And I think this is a very, very consistent and fast method of leveling up.

[00:45:36] Michael Chan: Yeah, I want to dive into the practicals of that because I think that that can't be overstated for people who want to level up and kind of learn from people but can't actually get time with them, you know, actually say like, hey, you know, if you hit some of them and be like, hey, I just want an hour of your time for you to mentor me. Like, it's never gonna happen, right?

[00:45:58] swyx: It's too generic.

[00:45:59] Michael Chan: Yeah, but

[00:46:00] swyx: Tim Ferriss Tim Ferriss actually uh has this saying which I really like, which is, the world rewards- punishes the general wish and rewards the specific ask. Um, so, so if you're just like, make my life better, make me a better developer, no one has any idea. But if if you if you have a specific thing that you want to work on and get better at, people- I I will have a lot of suggestions for you, you know what I mean? So, um, don't ask me to do that work for you of of defining what you want to get better at. Figure it out for yourself and then engage uh with the experts.

[00:46:28] Michael Chan: It's interesting. So in a practical way, um, what would this look like? Would this look like, um, like commenting on, you know, other people's content that they've that they've put out there, um, kind of uh giving feedback on stuff that's like on on on Hacker News or, you know, Product Hunt, um, like you mentioned, giving giving feedback on, you know, PRs, investing in open source, um, taking on a feature

[00:46:52] swyx: Yeah, yeah, keep going. All right, like there's a- so Li Hao, who is one of the community members, uh he literally became a Svelte maintainer by going through the codebase of Svelte and seeing that there are a lot of to-dos, and he followed up on the to-dos and sent in PRs, and then he they made him a maintainer. Um, but like, yeah, like read through source code, actually try out stuff that people launch. Um, there's bound to be bugs, there's bound to be, you know, stuff that you don't really get. Uh, you even, you know, you have the benefit of saying like I'm a beginner, so I give you the beginner's sort of perspective on this. Um, and of course, they want to improve it and make it more accessible to to people who are not experts, because these people are experts and that's the one thing that they don't have, which is the beginner's mind. Uh, but yeah, no, uh, I think probably the most- the easiest one that that most people can do is sort of uh summarize, you know, like restate, reframe. Uh, so talks, podcasts, books, blog posts, these are kind of like the the the the main- Media formats in which like if you see anything good, don't just like stick it in your memory and and try to just like, you know, how to hang on to it. You're gonna forget most of it. And uh you're gonna miss out on a chance to tell people about it. And you're also gonna miss out on a chance to engage with the the person who who connected to it. Um like it's pretty funny, like if you actually, you know, just randomly email the the authors of your favorite books, they're likely they're likely to respond because most people don't do it. Um, so it's just a hack. It's it's it's honestly just like, people don't do this enough, so I can just continually recommend it. And like, you know, less than a percent of people who actually even hear this advice will actually even follow up on it. So like, I'm even comfortable like giving out my email address. I I put it on my Twitter. Um, I get maybe like 3 emails a week uh on just like, you know, on these things. And and yeah, people don't follow up. So, if you're if you're sold on this advice and and you think that it works, or you want to if you want to try- And see whether it works. Um, I think there there are a bunch of people trying this out now and and really kind of seeing for themselves, so I kind of don't have to prove it anymore. Anyway, I just think it's a good idea. Um, yeah, yeah, so, so, and partially part of that summarizing thing is again falls back to that borrowing credibility thing. Like one way to level up is to just have a nose for really good stuff and just summarize it and internalize it. Um, I'm really keen on this idea of Big L. You know how in algorithms we have Big O? Yeah. Mm-hmm. How something scales together with uh the amount of units or time or or space or whatever. Um, big L is this idea that people can scale uh linearly, sub-linearly, or super linearly with their number of years of experience. And how do you how do you change the the curve of what of what you learn? I think it's doing stuff like this, like uh engaging at a higher level, engaging in a network, uh and being more reflective on on what you uh what you learn. Because yeah, there's- obviously there's a blog post about Big L. And yes, he's a rapper that, that apparently a lot of people like. I don't know, I don't know anything about that. But Big L notation for your- for your career, for your- for your learning, I think it's a very good structural thing to think about as you learn, because a lot of people don't really think about how they learn as they learn. So yeah.

[00:49:54] Michael Chan: Yeah, yeah, I love that. And you know, I have to say, it's- it's- When I look back, I mean, I I feel like even this podcast is is a way of like doing exactly what you said, like kind of like borrowing credibility and like picking up what others put down and just like understanding a little bit more than, you know, like what's on like the the the marketing sheet of of a thing. And I think that, you know, there's so many avenues for people to to just do that. And, you know, you don't have to come up with some original thought to start, you know, blogging and writing. Uh you can just talk about like stuff that other people have talked about and just, you know, add a paragraph that makes it make sense to you or a drawing or whatever and then link to the the doc that you read to actually learn that thing. And um I mean, that that can be, uh you know, just so so powerful. And like, you know, the audiences for those kinds of things can be, you know, depending on how you do it, can be like, you know, really big.

[00:50:49] swyx: Yeah.

[00:50:50] Michael Chan: Like comics, right? Like, you know, we see this a lot. Like, you know, we're just like comics just explode for web developers. People love seeing like comics of, you know, code and, you know, mental models and whatnot.

[00:51:00] swyx: Yeah, so Julia Evans, uh Lynn Clark, yeah, uh Samantha Ming, uh anyone with a modicum of like artistic ability, which rules me out. Um, yeah, if you if you can sort of make tech, you know, we're so used to like just really dry and boring technical stuff, so if you can actually make it more accessible uh by drawing or or illustration of some sort, then you really, really stand out. Um. So yeah, I think that's a superpower. I'm actually keen on learning that just to, just to try. Like, I wanna- like, Sara Vieira has been learning Blender. I think you talked about it in your podcast, but I'm not sure.

[00:51:31] Michael Chan: Yeah, we did.

[00:51:32] swyx: Uh, yeah, so, and, and like, that's a way- like, I can't draw, but I could probably like mess around with some 3D shapes and stuff like that. Like, maybe that's more, that's more interesting, uh, venue. Um, but these are all just like ways to engage with, with your mentors, and I think that in a way that gives value back to them. Uh, eventually you're gonna have to, you know, strike out on your own.

[00:51:49] Michael Chan: Sure.

[00:51:49] swyx: Uh, but I think Uh, what you get what you get from engaging with these mentors is understanding what they think is important. Um, and by definition, because they're all busy, they're all experts, they have things that they have don't have time to do. So you can be their sort of right hand in in doing those things. And you can eventually become their peer just by working on these things. And up to a point where you start disagreeing with them for the right reasons, uh, that's when you sort of start to sort of level up past your mentors.

[00:52:16] Michael Chan: Yeah, yeah, I love this. I love this idea that you're calling these people mentors, but you don't necessarily have to have a relationship, like a mentor-mentee relationship with them. You know, mentors are, you know, a book, listening to a podcast, you know, reading someone's blogs, like, you know, these are your mentors. And, you know, being that first person and like kind of rising up as someone who appreciates that work and kind of expands the the vision of it and the communication and talking points of it, the audience of it, like No one's gonna- no one's gonna hate you. No creator's gonna hate you for that.

[00:52:52] swyx: Yeah. Yeah. I mean, you know, a lot of them probably rose up the same way. So-

[00:52:56] Michael Chan: Yeah. Yeah.

[00:52:57] swyx: Like, this is how- this is- it's almost like this is the hidden rules of the game that nobody writes down. Uh, and then I just like went and wrote it down. And, you know, even then people don't- you know, part of this is like my fault, but, uh, the people- people consist- insist on on being, uh, on on proceeding the way that they're they're taught.

[00:53:16] Michael Chan: Yeah.

[00:53:17] swyx: Um, and I think a lot of it has to do with formal schooling, like on when during formal schooling, we're given a path to to succeed, uh and it's a very straight and narrow path. And and I think um in the real world, it's it's very different, especially in sort of the rather more egalitarian, like open source, um you know, public public sphere. Uh it's it's it's a very different world from from when we're in schools and on on rails, essentially.

[00:53:40] Michael Chan: Yeah, on rails, I like that. Um now we're like, we're just like blowing through time today. We're having such a good time. I'm sorry. No, no, no, I I love talking with you. I mean, If we didn't, if we weren't trying to respect people's, uh, you know, uh, time, I I was gonna say commute, but nobody has a commute anymore. I know.

[00:53:59] swyx: Apparently, apparently podcasts have like taken a a dive in in terms of general listenership.

[00:54:03] Michael Chan: Huge dive. I can very much validate that. Yes, just nosedive. Um, yeah, the commutes are very critical to uh maintaining a a a podcast audience. Um, uh. But, you know, as we kind of like get to the end of this thing, I I want to talk about um something that you— an analogy that you've made, uh the operating system of you. Talking— kind of taking something that we understand, you know, coding, operating systems, software, firmware, uh kernels, and mapping that over to the human. Which it feels like maybe we should be, you know, already thinking about the human first, but I think as engineers, we kind of like to think that we're like just all brain and, you know, whatnot. So, I love the way that you've mapped this back to, you know, the technical back to the human. Um, tell me, um, tell me about that concept, where it came from, and um, and what the core philosophies of it are.

[00:54:55] swyx: Yeah, uh, essentially, this this is the chapter, this is the end where I realized that if I don't write this, everything else preceding it doesn't make sense. That's what also makes it a natural ending chapter. Uh, and it's this idea that like, what if I just like handed you to you on a silver platter the best talks in the world, the best books in the world, the best courses, whatever, right? Like, uh, the best advice in the world, like, just like objectively, like from God. Sure. And, and just gave it to you and put it in front of you and said, like, this is the best, these are all the proof. Um, would you be able to put that and, and, and make, make benefit, make use of that in your own life? Um, a lot of people would not. Um, and And it's mostly- that's a- that's a- that's a- that's a result of not having a system to process uh and incorporate these uh sort of decisions and changes in their- in their own lives. So, um I kind of think about it in that sense, like, uh you know, we- like we as people, um you know, we kind of operate on in as an interface between um the hardware, which is our bodies, um and then our software, which is, I guess, you know, it's- it's not even our software, it's like the applications of of our software, right? Sure, yep. Of our bodies, towards a job, towards a career, towards being a human, which is kind of how I pair, you know, tactics for job, strategies for career, principles for being human. And then, so so I think I think that uh then the tricky part is to define the operating system on which uh all these applications run. Um and so so I think um that's, you know, when I when I sort of dig down to like the deepest, deepest habits that You know, people like Scott Hanselman, who who who's been a developer for, you know, I think like 40 years, when they talk about, uh, you know, having a long-lived career, they don't talk about, uh, you know, picking what they put down or like learning in public, that kind of bullshit. They're like, take care of your back and your hands. Like really core stuff. Like when Bill Gates talks about— uh, I linked to I linked to his blog post— when Bill Gates talks about like how to, you know, like Advice that like, you know, stands the test of time. He's like, sleep more. Like, shit like that, you know what I mean? Like, take care of your body. Uh, because like, we like, we like to pretend that we, you know, we're all sort of virtualized people, but we're not. Like, we, we, we have uh sort of bodies attached to us. I also like this analogy because, um, you know, I think that there's a lot of domains in which, uh, in computing, we, we've learned to do things better than in terms of, uh, in dealing with humans. So what, what is abstractly, what is an operating system? It's an, it's a, it's a, it's a way for us to manage limited physical resources, and then run applications and and sort of share resources on top of it. Um and I think that's a lot of what we're trying to do as humans as well. Like we have limited time, we have limited uh you know physical uh bodies and and stuff like that. Uh and then we're trying to run as much as possible, like get as much performance out of our hardware as as as possible, right? So we should actually, like you know, we invest so much time at the at the application layer, we should maybe invest a little bit more time on the operating system layer as well. So I wanted to make a case for that. If I ever write a sequel to this book, it'll probably be be that, like this this this chapter extended into a into a book form. Um, I've already given a couple talks about it, and I think it's it's a it's an idea that's kind of spreading, because uh the analogy is something that we all understand. Like, yeah, um, we have different levels of storage, right? Like, unfortunately, in our heads, the only forms of storage available to us is RAM, right? It it basically, like, it's very lossy. It could even- you could- you can even call it maybe like L1, L2, L3 cache. But like, basically, like, there's different levels of storage, and we only have one available to us naturally. So we actually should extend it by working with external storage devices, like writing stuff down. Like, you can kind of like derive so much of the principles from these fundamental- like, what are the limitations of our hardware, and how do we- how do we sort of exceed those limitations? Um, I can go further. Like, what- what about, uh, you know, our environment that's around us? Like Um, temperature control is something that matters as much for CPU as for humans, and oxygen control, like, uh, separating, um, you know, like, and then, and then I even go into things like, um, being able to virtualize other people. So when we code, uh, you know, we can actually code a lot better sometimes if we, if we're able to virtualize what other people are, uh, like, test our code against, um, our model of how other people behave. Sure. So like the preemptive code review is, is another, is another interesting idea that that sort of falls out of this model. Um, so there's there's all these ideas, um, and I think scheduling is scheduling is another one that that I'm pretty passionate about because I'm I'm I'm not very good at it. So this is very much of a learning. I I I put it as like the final chapter because I I I was like, I'm least I'm least qualified to talk about this. But like, do you drop tasks? Do you have a problem prioritizing, um, you know- Yeah. High, um, low urgency, high important things in your life. Um, that's That's a lot of where we we get screwed up because a lot of times we prioritize notification bells and like pings and like DMs and stuff like that, uh which really don't matter.

[00:59:50] Michael Chan: I'll do the important work after I, you know, get get get to inbox zero. And it's like, just just unsubscribe from all that shit and move on with your life.

[00:59:58] swyx: Uh there there there's just there's just a system to triage and manage and batch. I talked about all of that in in these ideas. And and uh something I got from Sarah Drasner as well is is is this batching idea. Um, but then the last one that I leave all the way to the end, right? So what is at the core? Like, you can strip out- these are all sort of like extraneous stuff that it's like, yeah, it's nice to have for operating systems. At the core of what operating system is, is the kernel. It's the process that drives all the other processes. And if you lose that, which for humans it's motivation, we call this drive. Like, I I I use the word drive. Sure. If you lose your drive to code, you will stop coding. And we see that so often in in tech. Um, I I I pulled up a couple of examples on Hacker News where they're like, yeah, I reached like, you know, uh L whatever in Google. Um, I'm being paid, you know, hundreds of thousands of dollars and I'm totally unmotivated and I feel like quitting and burning out. Um, so so I think, you know, maintaining that drive and motivation to keep going and to to to have joy in your work, uh to understand that, you know, the the code that you that you that you that you work on uh may have a broader impact in in something that you care about. Um, I think those are, those are really core important things to, to, to keep track on. So, um, the last chapter is kind of like a mixed bag of all these ideas. Uh, and it's an invitation to explore more because I don't- I definitely don't think I have the answers. But I think these are, you know, like, when we talk all the career stuff, it's, it's cool, it's interesting, it might get, might get you more money, but like, ultimately you want to stay in the game and that would- that's, you know, um, and not burn out. And I think, I think that's, that's something that we should all spend a little bit of time talking about.

[01:01:30] Michael Chan: Yeah, yeah. You know, speaking of that last chapter, one of the one of the quotes that you have have in there um that I had not heard before, but is just so concise, is um from James Clear. It says, uh your outcomes are the lagging measure of your habits. Um you get what you, was it, you get what you repeat.

[01:01:48] swyx: Yep.

[01:01:48] Michael Chan: Um and I think that that is so, it it really ties into everything that you're saying is is that, and I think even what you said at the beginning, I don't even know if this was before or after we started, but talking about focusing on, um, shoot, what was it? Like systems over objectives, maybe?

[01:02:07] swyx: Goals.

[01:02:08] Michael Chan: Goals, yeah.

[01:02:08] swyx: Systems over goals.

[01:02:09] Michael Chan: And this is, this is so true. It's like the, the, the building of a process, like the building of you, the maintenance of your like operating system is what actually takes you the distance, not any kind of like external thing that, you know, oh, well, you know, like I reached L-whatever, LX, and uh I guess I'm like done now, right? Like there's always some place where you're done. And if you don't have a system that like actually carries you through and continues to motivate you, like, you're cooked, you're done.

[01:02:37] swyx: Totally. Yeah, you said it. Um, you know, I think James James is obviously, uh, you know, the author of Atomic Habits, which is uh a lot of people's favorite book uh these days. Um, and yeah, I think that's a that's a that's a much healthier way to approach uh coding careers than the sort of go hard, go fast, like, learn React in, you know, 60 seconds kind of thing. Yeah, like, we're in this for the long run. And I think that's something I'm also increasingly passionate- interested in. I don't know about passionate, but interested in, which is like, you know, sustainable ways to have a coding career rather than like, look how fast I'm rising, look how senior I am. Like, yeah, none of that matters.

[01:03:17] Michael Chan: Yeah.

[01:03:18] swyx: Are you happy? Um, ultimately, like, how does your back

[01:03:21] Michael Chan: feel?

[01:03:21] swyx: People- I think I actually- I think this is like a uniquely American thing. But uh people are obsessed with learning how to learn, right? And I talk a lot about that. Yeah. Like, I'm like, yeah, learning in public is better than learning private. Yeah, it's great. Uh but there will always be things in which you- there will never be any end to things. You know, there's there's there's an unlimited number of things to learn, and you will never- like, you know, you'll never be done. And maybe what's more important is learning how to be happy with what you already have. Um and nobody tells you that. Because any- anything that anyone markets to you is telling you that you're not good enough. It's telling you that, uh, you just like, you know, uh, yeah, you- it's just- it's just giving you FOMO in some- some sort of way. Um, so it- it's really hard for me to- to say that because I'm- I'm also like trying to tell you like, you're not good enough until you learn how to be good enough. Fire some of those people. But like, it's kind of true. Um, and I freely give this away to- to anyone who'll listen, but sometimes you need to pay to take something more seriously.

[01:04:21] Michael Chan: Yeah. Yeah, oh, absolutely. Absolutely. Uh, well, hey, I think that that's- I mean, this episode's jam-packed of uh just really great advice. Um, tell people where they can go to get your book and uh kind of- I mean, this this thing is huge. It's like, I think, 400-ish pages?

[01:04:42] swyx: 450, yeah.

[01:04:43] Michael Chan: Oh my gosh. So, like, we just barely scratched the surface of the topics and resources that you cover in your book. So Um, where can people go to find more information about uh this book and uh how to learn in public and do all the things that we've been talking about?

[01:04:59] swyx: Sure. Uh, it's at learninpublic.org, which is the domain name. Uh, I had a— so it was originally called Cracking the Coding Career, and then Gayle McDowell, who wrote Cracking the Coding Interview, uh threatened legal action, so I had to rename it.

[01:05:11] Michael Chan: Oh!

[01:05:11] swyx: Um, so it's so it's Coding Career Handbook. It's it's more generic. I don't I don't love it, but anyway, uh I I named it after the original .org, uh and the vision is to eventually develop into this into a nonprofit. Uh I've given away a quarter of the the the money that I've made to freeCodeCamp. So, uh you know, uh so far I've given them about $10,000, but I I will be giving them more. Awesome. Um and then uh for listeners who made it all the way all the way through the end, I always like to give a little uh something for people who, you know, follow through because people don't often don't follow through. So, uh, uh, create a coupon. So it's learningpublic.org and then query c=reactpod40, and they'll give you 40% off everything. Um, and I—

[01:05:52] Michael Chan: Oh, awesome. And we'll link that in the show notes too. So if, uh, you know, or I guess, should we not, should we just leave that as a, for the, for the people who follow through to the end?

[01:06:02] swyx: It could be hard to type. So it's a query param. Sometimes people get it wrong. I just like, you know, leave it in the show notes. It's fine. Like I've done this for every podcast and then, uh, yeah, the, the, like the, the sales, like people just don't get to the end sometimes, you know, so uh if people want to, they they can take me up on that.

[01:06:18] Michael Chan: Yeah, yeah, yeah. Well, we'll link it regardless. Uh I'm super excited to point people to your book because it's just jam-packed full of uh really great information and very concisely uh consolidated and curated information. So uh I I just want to say thanks for for putting it together and I I guess risking the um you know being out there, you know, because not everybody does. And I thank you for your your service to the community for making this uh available.

[01:06:44] swyx: You're very kind. Um, but yeah, you know, like, look, I I I very much acknowledge, like, this is the first book I ever wrote uh for money. Um, and uh and yeah, like, I think, I hope that this will be the worst version of the book. And uh what I can say is, you know, I I try I try to I'll try to publish a new version every year and and make it better. So I I need your feedback. Uh let me let me know what you think. Uh and you can reach me on on Twitter @swyx. And the book has its own Twitter as well, so it's @codingcareer.

[01:07:08] Michael Chan: Awesome. Awesome. Go out, check it out. Thanks everybody for listening. Thanks swyx for being here.

[01:07:14] swyx: Thanks for having me.

[01:07:16] Michael Chan: This has been episode 114 of React Podcast with Chantastic and guest swyx. The transcript for this episode was sponsored by Kent C. Dodds. Thanks, Kent. At the moment, transcripts trail episodes by about 5 to 7 days, but it'll be up shortly. You can find that transcript along with the links and show notes at reactpodcast.com/114. If you like this show, there's a fast, free way to demonstrate your support. Leave us a review on iTunes. It's the best way for you to let me know what you think we're doing right and what we can improve. 2 to 3 minutes of your time helps us make the best show we possibly can. As always, links and show notes for all episodes are available at reactpodcast.com. This episode This episode was edited by Mikael Delport. It was produced by Mikael Delport and Sarah Jackson at Speck, a network to help you level up in design and development. Check out speck.fm for other shows that are sure to fast-track your career. I'm your friend, Chantastic. Thanks for listening. We'll be in your ears again next week.