YouTubevideo· Jul 19, 2024· 41:52
Stop saying best practice. That's the name of the article that we're going to be reading today and stick around to the end where we get a special chat with Will who wrote this article, Will King. And has his thoughts changed about the article now that he's written it? Have my thoughts changed about the article now that I've read it and I'm talking to him? The gist of this is stop saying best practice and instead start saying what you're practicing.
so this is stop saying best practice an article written by will king you can find will on twitter slash x at w king underscore underscore this is taken from will's website at w king.dev so stop saying best practice written thursday november 9th 2023 i'll give you the tldr right here stop saying best practice and say what you're practicing if you've never heard someone tell you about a
a best practice for whatever job role you're doing, I don't believe you. A best practice to people who build software is like a cold plunge to a VC or CrossFit to a fitness bro or the recipe that tastes just like the real thing to someone who is gluten-free. They can't help talking about how wonderful it is. And before you start getting fired up, I'm not about to talk about why best practices are bad. I use them all the time. I learn them. I study them. I pay attention when
new ones are shared around the community? What I'm going to write about is why calling them best practices is terrible. I could wax poetic, but I can summarize this in a statement and a question. The name best practice tells someone absolutely nothing about what they are practicing. If someone showed you some code and told you this is the best practice, what are you going to say next? Why do we do it this way? Naming matters. Cue the meme about the the two hardest problems in software.
No matter what name we might use, there will probably be an explanation still needed to deeply understand anything. But I'm going to give four new names you could start using to get 75% of the way there. Community Pattern. Sometimes the reason you write code a certain way is because everyone else is doing it. This doesn't make it the best inherently, but makes this a best practice is because when everyone sees it, they know exactly how and why it is there.
This is very common in frameworks where the people in the community are already buying into a set of opinions on how to write software. New contributors to your code can hop in and understand community patterns right away. There is a great quote that captures this idea from a blog post written by Nicole Tietz. So, yes, as a principal engineer, I view it as my role to keep us off the bleeding edge as much as possible. That way, when we really do need to innovate, we have the capacity to do so,
and when we don't need to, we can go really freaking fast. End quote. Readability pattern. A close relative of the community pattern, a pattern that is created for the sake of making more readable code, is not always going to be the best at everything. It may feel more repetitive or take more lines, but the goal is not brevity. Sometimes the two align. Shorter code may make it easier to reason about, but the only true goal is writing code. that anyone can reason quickly about.
As a JavaScript dev, one that comes up to the forefront of mind is a team's choice to use for...of loops instead of reduce. People who really love reduce will not agree, and believe me, I'm a huge fan of functional programming patterns, but not everyone can read a reducer one time and grok what is happening. Instead of adding that barrier, your team may choose to lean towards for...of loops to make it a no-brainer when trying to parse the output of the operation in question.
Performance Pattern. Ah, Performance Patterns. Patterns of this nature often fly in the face of the previous two. The code to squeeze maximum performance out of the system doesn't always give you the courtesy of being the easy way to write it, but when you need a pattern like this, it is because the trade-off is understood by the team and worth it. Never shy away from heavy documentation on these patterns. Guardrail pattern. This is the last one I will throw in here. Some patterns exist
to avoid known foot guns. Things like this make their way into community patterns oftentimes, but when these are given the name best practice, it can be easy to confuse the real reason these exist. A favorite of mine is no magic numbers. We have all done this before. If you're unfamiliar, let me give you a quick rundown. Magic numbers are most often numbers used only once and so you justify in the moment that it would be a waste to put this in some variable. We only need to
multiply the total by 47.5% and here I won't forget why. Two years later, Spongebob narrator, hey, does anyone know why this is multiplied by 47.5%? Oh, that, yeah, Kevin wrote that like two years ago before he left. We don't know why, so we just don't touch it. So enter the guardrail pattern of assigning all of our numbers, even one-off ones, to a variable with a descriptive name. Conclusion. In conclusion, stop saying something is a best practice. Classify your
patterns for what they are best at doing and tell me that. Here's the addendum. And if you are listening to this, be sure to check out the show notes in the podcast or the description in the YouTube video for the link to this blog post where the addendum is surfaced. So addendum. After having this shared around on Hacker News and social, I want to make some extra points on top my points above. One, when trying to optimize distribution of your information, I get that more
people are likely to search or dig into a best practice. That is valid, but if that is how you're hooking people in, make sure you dig deeper than that once you have that attention. And two, people are smart enough to understand best doesn't mean best. That is a false assumption. You may be experienced enough to make that deliberation based on just reading through what is shared, but not everyone is. It is our job to help those more junior or learning to better understand why
something is recommended instead of just saying, do this, but I expect you to know when you shouldn't. The great part is we get Will King, the author of this article in a special exclusive interview or just a, just a quick chat. But yeah, we'll want you to share a little bit about like Who you are What you do and then maybe just like your thoughts of what came to be before writing the article
I'd love to hear that. Cool. So my name is walking. I'm a primary primarily a like a design engineer was kind of where I land I went to school for design Transition to front-end development and then over the years have just really found myself slotting into Kind of that design and engineering role where I get to do both throughout my career, which makes for some very interesting observations.
Because I think a lot of developers have that, they're straddling front end and back end. So they're coming from a very technical and even deeper technical mindset versus kind of like a more creative, free-flowing mindset. And then like replacing that with the technical side of it. So currently I work at Crunchy Data.
We do manage Postgres. And then what kind of like led into this article is just I am very much a like when I develop with kind of like the design background, the way I approach problems is is more in the sense of like what works now, not like what has always worked.
you know like i'm not afraid to explore like something new and i don't mind i don't mind coming at a problem using like what has been learned before aka best practices but what i would run into was that like developers or engineers that i'd be working with would push back and say like well that's the best practice and then i'd be like why is is that the best
practice. And then finally, they would try to jump a little deeper into it. Whereas this, this understanding that I was just supposed to know that it was a best practice for XYZ reason. And it just never like clicked with me. And I'm like, well, why didn't you just caught like, if it if we're doing it this way, because it's easier to read? Like, why didn't we just say this is like a readability pattern? You know, like why? If this is because it's like more performant to do
it this way why didn't you just say like oh well this is like the way to do it uh for performance reasons you know and so just there was these these assumptions that get baked into this concept of like something is a best practice and calling something a best practice does not tell you like well what are you practicing like why is it the best and why is it the best now why is it the best
here in this case because something that is best in one company does is not always the best at the other company and as you get more senior uh you can i don't know if you read through the addendum or not um but in the addendum there's this commenter when i posted this on uh like somebody shared this on hacker news and when i saw that i woke up one morning and saw that it was on
hacker news i was like oh yeesh this is gonna yeah we're in for it now yes yes uh some neck beard is like the only way i could phrase this came in and said why would you need to specify what the best practice is like we're all smart enough to know why it's the best i'm like well like you might be like you may have been a developer for a very long time you might have been around when the best practice was created uh but like junior developers are not
Somebody who's new to development, new to your team may not know why that is the best practice. And we should always be writing code in our code bases to support whoever is most junior on our team. Now, that doesn't mean you write things in a worse way, but whether it's through comments or whether it's through like explaining and documentation or in education into your teammates, Like we should be assuming whoever is looking at the code, including us in like two years,
like we're going to be dumber than when we wrote it originally. Like we're not as clever as when we wrote it. Yeah. So, yeah. Yeah. No, that, that's really interesting. I think it resonated, resonated with me a lot in that sense. And yeah, just first off, like I can tell that you're like straddled, like the design you visualize. Cause like, I think your, your website's absolutely beautiful. So like, I love, thank you. I appreciate that. Yeah, of course.
I love that aspect just because that's always been something that I've been forward facing about is like, I've, I've, I always used to think I was going to be a designer, but I wasn't good enough to be a designer. And I wasn't like, uh, I didn't really like the, I'm going to sit and code for eight hours. Kind of like, I'm just a strict developer. So that's where I've kind of always straddled the, you know, customer facing side of development. Yes.
It's a valuable skill set because I think a lot of people miss that connecting with how the customer is using the software, not how the computer is. Knocked my mic over. I like to call it your job as more of the design-facing engineer is your understanding how the customer is using the software, not how the computer is using the software.
Like back-end developers, I see it more as like you're writing things for the computer. But my job is to make sure I'm writing things for the user. But no, there was one thing that I thought when I sent this article to you and was wanting you to take a look at it was you came from JavaScript. And you moved over to PHP Laravel. And I am very firmly still in JavaScript land.
Uh, and like this article, I think resonates different differently for people who are JavaScript developers versus people who are, uh, Laravel developers is an assumption that I'm making because Laravel developers, um, you have a lot more best practices, um, that fall under what I would say that the community heading is like the community has decided, uh, that
this is the right approach to doing these things. And there's a lot more unity around that. Whereas like in JavaScript, like community patterns are not like a thing as much. So like there is a lot of like back and forth of like, well, this was a pattern here, but now I'm in this code base and it's not a pattern here. Whereas in Laravel, like you can switch from code base to code base.
And like, I feel like the concept of like, I'm a little more jaded on best practices in JavaScript land than I would be if I was in Laravel land. So I was curious to see like what your thoughts reading through this were being, being, having had a foot in both, like how you see the differences and like if what the value is in the article in that perspective, like moving to Laravel. Yeah, that's a great question.
And yeah, it's one that I was thinking of kind of in twofold because, yeah, coming from the JavaScript world. But a lot of people might know this or might not know this about me, but I never actually had a strict developer job. Like I've never actually worked full time as a developer.
I did a lot of contract work where I built things for people or was a contractor for specific tasks that were contracted out to me. I did a lot of sales or solutions engineering where I was doing developer-ish things, but it was usually specific for a feature for the company or for a client that we were bringing on to the company.
um and so i kind of when i was reading through this what things really resonated with me was a lot of times i almost have this this thought in the back of my mind or or even just this preconceived notion that people um who are who are thinking through this with me um uh or people who kind of like see my material or see the code that i've written i'm always kind of thinking oh
it's not as good as like someone who has been in the development world. For example, a lot of people in at least like the Laravel world are very like test driven. They're very like, as I'm building out this application, I am testing it. I have actually, except for one video that I made, have not written a single test. And I think mostly, most of that people are like already checking out right now. They're like, I'm unsubscribing from Josh. I'm good to go.
But I think most of that, what has resonated with me within this article is that there's different reasons, I think kind of like what your summary was, and I'm kind of summarizing this and not looking for a budget. what your summary was, was that the best practices come from what is the best way to actually build
something rather than what's the best way to do this so that I can build it. And I think, as a solo developer, so a lot of the things that I've built, like personal projects, I've been the sole developer in for them. And so I don't necessarily need to write that many tests. I probably do. But I don't necessarily need to write as many tests because there's not bunch of people in the code base who are like okay what happens if i break this feature you know
there it's not as important for certain things even in terms of like how i'm structuring my code or like what specific folders things go in yes i think within like the laravel ecosystem there's like because it's so opinionated i think is where some of those best practices quote unquote kind of fall into where you have um you know specific naming conventions where like okay everyone has models
and controllers and views and and maybe they're within livewire or inertia maybe there's something different but there's still the sense where if you were to jump in even to next js you could have pages or app router and then all of a sudden those conventions are completely different someone might have an api folder and someone might have a back end or a db folder or something like that so So I think those conventions is where the best practices flow out of. And within Laravel, the conventions are kind of pretty much set and agreed upon.
As I say, baked in. Yeah, exactly. Exactly. So I think, yeah, the piece that really resonated with me was that, where I know that I don't do things like a developer who has been working on teams with 20 other developers has within Laravel. Just because most of that I probably don't know. Or I don't like, okay, a lot of times I don't split out my files into separate components unless like it just gets too unbearable. And I'm like, okay, here, do it.
Yes. But if I have some like, but if I was working with a designer, then all of a sudden, okay, I'm creating the component first. And we're making sure that that component matches, you know, the design files. And then I'm doing it. But as a solo developer, it's kind of like, okay, I'm just, I'm building. Let's see. I think if I could sum it up, it's the, the project should drive the practice. The practice should not drive the project. Um, and I think, I think there are a few, there are definitely some cases and I tried
to point this out in a couple of places where like, there are some cases where there really is the one way that you should do something or like there is a way that is better, but there are reasons why it's better. and like you should you should be able to communicate why they're better you should not just be doing them because that's what i was told why they were better and when it's when it
when you find something that is that where it's better because it just is you will find yourself doing them in every project like it is truly the best practice because whether you're working with one or 500 developers, like you're still doing it the same way. Um, whereas I find that they, they can still be considered best practices, but they're like, they're contextualized. I,
I almost wrote another article, um, after like talking with a number of people after writing this article where like it, it kind of like got layered. There is, there is like link, there is globally best practices for instance like naming like you should have very clear names for your variables no matter what language you're writing in a clear name for something makes a
difference um and like helps with readability doesn't matter whether you're writing php or go or whatever it is and like maybe the specific convention is different but like the idea is like naming matters but then there's like taking a step in there's like language specific best practices taking another step in there's like team level like best practices or company level best practices and then like i'm sure there are like some that are even like a little smaller
where it's like my personal best practices but like whatever that's just like preference that you're not really doing things with others but like there's these layers or maybe like something that's right for your team best practices there we go there we go yes that's a good one that's a really good one where it's like there's team like this team level where it's like this may not be right for a lot of other teams but the way that we have our product and project demands it like this is what works um yeah and like somebody may come in and be able to pick apart well i don't
think it's right for xyz reason well like well it's right for us because this is why we do it that way and like same for like languages like this language just works better doing it this way versus other languages and there are reasons why and i think that's just like people getting a tizzy about it because they want they i think developers and like why i push against this
as much is like from a design background like there are still some rules in in design but like when you find really good design is when you take the rules and notice when breaking them makes a better result because like rules are there to keep things consistent uh and people to feel like like they understand something and when you break a rule is when people are like wow that was
great uh and whereas like developers like it's almost like the opposite convention where like you're like you you are working with a computer so like the more like predictable things can be And like, they have gone too deep down that rabbit hole of like, we want everything that I do to be predictable. I want every decision to be predictable.
And like, that's just not the reality of like, that may be the reality of computer programs, but I, but that's not the reality of balancing writing a computer program and building a business. And I think a lot of developers have uncoupled business needs and software needs and like things get messy. and developers have a hard time letting the mess in, which could be probably like a whole other article. Yeah.
No, no, that makes a ton of sense. I think I have like three questions based off of that. The first one would be when it comes to then like your thoughts in terms of, it seems like a lot of those best practices, when we talked about those different, you know, you have teams best practices, personal best practices, package best practices, language best practice, framework best practices, which usually come down to, I would say, conventions and just, hey, this is what seems to work best for most people,
regardless of what the actual outcome of the product might be. Where do you think preferences turn into best practices in the sense that, you know, you as an individual. When does it cross the barrier of like this is a best practice? Yeah, you as an individual, you have a preference for something, But then all of a sudden it makes the rest of your application better when you utilize that practice.
So I think that I don't I don't know if I could answer that to the language and framework level, like the framework level. It's like who's in charge? Like who who are the most influential people? What are they like? What are the ways that they are taking that framework? Then it's probably best to follow them because frameworks change over time. There are upgrade paths.
And if you diverge from like what they are recommending is the way to do something, you're going to have trouble going from version six to version eight or something because you chose to be like, well, I want to do it this way. And now you can't get the nice new shiny stuff without rewriting a massive portion of what you're doing. So like within that, like that is kind of like the, the differentiator when it comes to like framework and language level is like, who's in charge, pay attention to what they're
doing because like, that's what matters more than like what you want a lot of times. But there are a whole lot of like decisions below that, that it doesn't matter what you decide, you're not going to mess with the framework. And that personally to me comes from use. uh and like in team settings it's a matter of like well who is who is leading the team um
and or who was here first i don't okay i don't believe in it's it's more of like a matter of like time and pattern recognition than it is like let's do it this way um once it gets to like that team level there's like okay well like should we write our tailwind classes as like all just jumbled up together should we organize them like i saw this one recently where um even apparently
even uh like adam wavin's team does this when you've got a ton of classes you can you can break them up into using like the class names helper that way you can write things as like individual lines and they'll say like well this line is all my focus styles and like this line is this and this line is like where it's very well documented. Um, and like, maybe that works for your team. And like, that's what you want to do. It adds an extra step. And like, if y'all decide like
that makes it more readable, do it fine. Other teams that may just be like, we're changing things so often, like where, where's your company at? For instance, like I've worked with a lot of startups, like early stage products where like we built something one week and like two weeks later that just got ripped out and we built something completely different because that's what, how the product changed. And if we had demanded best practices and we had demanded doing things
a certain way, it may have taken us like two weeks longer to do something because we wanted to write it in a very like durable, long lasting way. When like the reality of the business is that like nothing about the business is durable right now. And like you want to write things in a way that like you're not shipping bugs or shipping like debt for you down the road, but like you've got to like accept the reality that like where your business is at is where your head should be
with writing code because it's more important to be able to move quick than it is to like produce the world's best software so to speak um and like there's a balance there like there's a balance but but yeah when it comes down to like what you asked where it's like at that personal level like how do you make that decision of what becomes best practice it's like repetition like what do you see being used a lot in certain ways? Is there somebody who's like more senior or has
been around longer who can recommend like, let's just choose this. Cause the reality is, is like nine times out of 10, it doesn't matter. Like it doesn't matter. So like decide on one y'all like and just be consistent. The consistency is, well, I see it in your background, create consistently. Like that's all that matters. Like write consistently, make it predictable. Predictability is the most important part is like if you do it this way here like let's be doing it that way other
places and until you do it enough times you don't know like what way you should be doing it predictably yeah no that makes a ton of sense and i think that that's something that i have always been passionate about as as as a solo developer and like most of the companies i've worked for um even you know as a support engineer sales engineers leasing engineer it's always been fairly small companies who I've and the thing that I've always appreciate the most about
working cross-functionally with some of those engineering teams has been the scrappiness, I think, is one where it always comes to mind. How fast can you actually build something not it might not be the same code practices that you're even in the rest of the application, but in terms of, hey, customer requested this, let's just see what happens, throw something against the wall, see if it sticks
kind of thing um and like as a solo developer like most of the people i know in like the indie hacky indie hackers kind of community usually are not like fantastic and not to mean put this down of like their actual skills but usually are not like fantastic clean code developers right usually they're not building software they're building a business yep exactly they're they're building hey I don't know the best way to like actually make this feature happen.
I don't even know if like this is work, but like it works. It's on the page and things are running. We're all building businesses. There are very few people who are building software. Like, you know, you know, when you're a developer who's building like software and you know, when you're a developer who's like building a business, like there are some, there are some projects where it's like, oh no, I'm just building this.
Like if you are like writing Linux or if you are writing like something systems level that like a bunch of other things depend on as like other software depends on your software because like what you're doing is like a piece of a larger puzzle than like completely different. But what I'm referring to in like most of what I am writing about is like you're a developer building like a product or a designer and developer building a product.
um and like something you mentioned uh which is just like we're just trying to write something quickly get it out there for the user to see like there there's something i actually wrote about a little later it's called shipping and layers which is like my approach to this which is like exactly kind of what you said like whenever you're given a feature or you're given a project you should be able to boil it down to like the core hypothesis of like we think this is needed because it will do
X for the user. And what you do is instead of building the giant, nice, shiny thing, prove that building X is actually what they want. So ship a very small thing that solves that problem that isn't, doesn't have the bells and whistles and ship it quick. Validate that that is actually what the user wants. And then layer on new layer, like new features, layer on. And
guess what now that you've shipped it do you know what you have that you didn't have before you you did that you have feedback and like real like usage from like somebody versus just like your assumption on how somebody would use it so like and that's like when you can do that like if you're shipping things that are small enough it's like way easier to maintain like your debt ratio like you may have shipped something really quick that had like not the way you would have
written it normally, or like you did like XYZ thing different than the rest of your code base, because you're just trying to get it out there as fast as you can. If it works, guess what? Layer one is like, hey, let's add like small feature one and two. But like, let's also like clean up this now that we know this is going to be how they use it and make it fit with the patterns that we're using other places in our app. You know, like it, this tiny layer approach allows you to like,
not only like grow the feature, but also polish it along the way without like committing to too much debt upfront. No, I like that. I think it's interesting because as you were saying a lot of that, especially like the layer piece, which I'll have to read that article on the podcast later and have you back on. But one of the things that really, I think even when it comes to the videos
that I make and most of the videos I make are for I want to teach someone how to do something new within Laravel, within, you know, development in general. And it's, I feel like I love to take that same approach that I learned building products with teaching. And maybe it was like I learned it teaching and then I built use it to build products and I still use it with teaching. But I think a lot of the times it's one of those things where within learning, whether you're a new
developer or you're someone who's experienced, but you don't, you don't necessarily know, okay, like I've learned about this new, you know, feature or new framework or new package or new way of doing something, whether that's like, you know, web sockets or AI or anything like that. Most of the time, it's very hard to kind of boil it down to, okay, well, how am I actually going to use this in a particular feature, a particular product? And when I'm making videos, a lot of
I try to boil it down to, okay, here's the reason why you would want to do this, why you would want to even learn it. And then we're just going to build something extremely simple. So it's like, I am building out a video. It probably is already out by the time this podcast is published. But I'm building a video with Laravel Reverb, which is its WebSockets package. And there's a bunch of cool things you can do with WebSockets, like a bunch of multiplayer awesome stuff.
But the first thing that we do in the video is, hey, here's one toggle button on the page that a bunch of people can see and everyone can turn it on and off. But it's everyone connecting to everyone else's. There's no rooms or separate layers. And a bunch of times I think it's a lot easier whether you're building a product or teaching someone how to do something, building a feature or even smaller.
It's a lot easier to break it up and say, okay, well, the first thing that needs to happen is everyone can connect and see the same thing and see it go on and off. And then all of a sudden it's easier to expand upon that. You're understanding the fundamental concept before layering on everything else you can do with it for sure. Yeah. I had one more question for you if you're looking for it. the thing when we're talking about like these best practices and I loved what you had mentioned before about, you know,
you kind of had those segments of, Hey, this is something that I might've picked up from like a previous team, previous company, but now I'm in control of these preferential best practices kind of thing. Right. Or convention, if you want to call it that. But what do you think when you're talking about like that, that bridge from design into development that for the most part, you know not many engineers can say that okay like you know they might just be taking a design
or maybe like the indie hackers would usually say that i am kind of a designer but i'm not like that's not something i'm thinking about first they're wearing so many hats design just happens to be one of them yeah exactly what do you think is a best practice that a lot of uh designers or even design engineers use that has made you a better developer. Ooh. I'm gonna need to think on that one for just a second. Yeah, no worries.
I, cause I think of it in the sense of, um, I w from the, from my career trajectory, I kind of was in like support and did support engineering, which was mostly like, okay, someone floated up this bug to me and now I have to find it and then talk to the engineers about, hey, here's the bug, here's everything sorted. All of that combined with my recent career of sales engineering has always been, hey, the customer has this particular problem.
How do I take what they're trying to say and actually put it into, okay, they don't necessarily want this feature. They just want their problem solved. And that's made me a better developer and teacher because most people, when they're learning something or they want a product, they're not looking for, Hey, I want this really cool, you know, website that I can chat with people, you know, they're looking for, does this actually solve the problem that I'm going at? Exactly. Yep. And like your,
your job is, is to have enough wisdom and experience to make that jump. Like what, what is, and that's like, what makes good, um, good bit, like good product people is like being able to make that jump of saying like this is what they want um and this kind of ties into like what i think i'm going to settle on is like my answer which is like understanding the medium like your customers don't understand the medium you do okay so they know their problem but they don't
understand all the ways that it could be solved um so like one thing that i think that has made me a better engineer coming from like a design background is that designers experiment a lot And like this kind of goes outside of design as well, which is like just art in general. Kind of like breaking the rules piece that you're talking about previously. Like artists, artists try, um, and I'm writing actually an article about this that I'm going to publish soon.
Um, which is like, are you going to be making more or are you going to be making like new? And artists experiment a lot. You hear, you hear the phrase, like they just are throwing paint on the canvas. like they're also like trying different mediums like like stone or oils or whatever like they're doing different things trying different methods and like maybe they try all these different things
not because they want to be like a sculptor but like they want to try that and then they bring lessons that they've learned and distill them back into like ways to improve like their medium like what they love to do and like in design you do the same thing you explore a bunch of different things you explore different colors shapes like layouts all this kind of stuff and like you distill it you you give yourself time to expand and then contract i think aaron francis
has a very similar thing with how he writes courses um with like printing out like a forest's worth of documentation um but it's it's that same that same idea which like i don't i think is developers in a lot of cases they're they're used to being given a a set of requirements and your job is just to do that and they aren't they don't what i enjoy about being more of like a design
engineer and like what it brings to my engineering practice even when i'm not doing the designing part of it is like give yourself space to explore try different approaches try different apis different techniques and and try them distill them bring them back you could say it also applies like try different languages try different patterns try different best practices from different languages in your language and just see how it feels distill it understand it and then bring it
back to your own practice and like that just makes you better because you're not just making more of the same you're you're making new yeah no that's really good and i think like you would probably agree then that like every person who usually is a as a better developer better designer better creator better product builder most of the time they're like constantly
experimenting and crafting whether that's like okay i'm learning a whole new language yeah i'm never going to use rust or go or be it but like then you know okay not only do i know and might be able to utilize whatever like conventions best practices right lay in that particular source of material but you also know okay like now i'm not just stuck with i'm going to you know
make sure i do everything the exact same every single time but i also know like okay when should my conventions or best practices stray or when should i start to break those rules or when should i start to do something else like i know that you know one of the incredible tools within the laravel ecosystem livewire built by caleb borzio that i really enjoy it was it was it came out of him seeing what was being built in the phoenix framework with live view yes live view yep exactly
and htmx and a bunch of other stuff that kind of paved the way for that kind of thing and you know best practices and standards from tens years ago so it's one of those things like i feel like your team, your product, your company is probably better off if you know the reasons why you have those best practices, the reason why you have those conventions, just like you mentioned in
the article. Yep, absolutely. It's easy to get stuck in a local maximum where all you're allowing your brain to consume or to process is what is immediately in your vicinity. and so you may think you've you're at the pinnacle or at the best that you can be but it's not until you take a broader view give yourself space to look around that you realize there's a higher
mountain over there um so absolutely yeah i love that well hey well thanks so much for uh for being the first guest on the uh thank you thank you for having me on for yeah yeah for anyone uh for anyone. I'm not saying that Josh is going to say yes, but in the effort of like trying hard and shooting your shot, I just sent Josh a DM that says, Hey, I think this fits. I like your, I like
what you're doing. And I think this article might fit. So as a final lesson is don't ever be afraid to shoot your shot and just connect with people. This is what I've been trying to do for the past year. And I'm glad that, uh, you, you wanted to bring me on cause it's been a lot of fun getting to chat with you. Um, but nothing, nothing beats getting out of the, the, the lurking mindset and start engaging and, uh, connecting with more people on here. So I appreciate that and appreciate you
having me on a hundred percent. Yeah. And it's almost like, uh, you, you, you broke the rules of best practices of like reaching out to something. There you go. There we go. Bring it, bring it all around. Nice little bow. Good job. Thanks so much. Uh, yeah, I, I really appreciate it and where can people find more about you? I already shared your Twitter and the website, but anything else that would be great to do? The website and Twitter is basically where I spend
all my time when I'm online. And if I'm not there, then it's because I'm with my family. So there you go. Well, thanks so much everyone for listening. Keep creating.