To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/TheCodingSloth . You’ll also get 20% off an annual premium subscription. The books I mentioned are in the description as well as my newsletter. But you better stop trying to write perfect code or else the tickle monster will get you
Yess! I obsessed over creating perfect classes, reusable modules...and I realized...no one cares that class to be modifiable in anyway...they care about it making it's job in that moment...
@@alexale5488 You have to find a good balance. Perfect code is mostly useless and slow. But too bad code is a nightmare past a few files/hundred of lines.
I actually gave a lot of thought about that topic today since I'm currently guilty about this. The problem with trying to always maintain that high standard is that you're gonna always write flawed code since you don't know everything and you end up slowing yourself down and potentially your team, and this also induces a lot of pressure and anxiety on yourself too. If you turn out be entangled in that curse, IMO the remedy is that you have to LEARN to be okay with the fact that the code you wrote is not written in the best possible way and leave any unnecessary premature optimization loophole, yet still good enough in order for you to continue to move on towards what you / your team is building.
It gets worse if what you're trying to write is something you want to include in your portfolio, because the engineer who will judge you if you deserve the job will read it
Oh yeah, let’s run a recursive algorithm all the way to the data type’s max value and once we get there, determine if the number is even or odd lol (rip modulo)
I think noita is a perfect example of why those last four words are not the best way There's three glitches in noita that instead of removing the bugs outright they nerfed them so their game wouldn't be destroyed but the community wouldn't be angry 1. The heartmage trick, They made it so the effect didn't apply when your max hp was too low but still kept it pretty powerful 2. Perk duping, They made it so it'd be dangerous and with each new update it's like a puzzle to figure out how to keep perk duping without the possibility of losing all your progress 3. (i don't know what the community calls it exactly) Infinite gold from pheromoning an empty wand to make it spawn a ton of invisible ghosts that you can kill for gold, nerfed by making it just simply sell the wand turning it into gold
@@skiez7430 No- no I mean the obsession with writing perfect code can often have a deeper psychological origin, and relying solely on the code side may not solve the underlying issue.
Brother i found you bcoz of random() of youtube algorithm anyway your way of explanation was to the point and needed in today's era of programming, thanks a lot cheers
I go through tutorial after tutorial and feels like my code sucks even the moment I type it. I haven't wrote a single functional app that I can call "my own" for months. I also chase the "best language" so my knowledge is shallow in multiple languages instead of deep in 1-2. Thank you for this, I'll read the pragmatic programmer AND apply it.
This is so timely. I'm currently going through this, as I'm assigned to a project in work wherein it's the first project for my team that's supposed to pay more attention to optimization. The problem is I'm a junior dev who's too smooth brain. I guess I should dial it back a bit and not obsess over every line of code, especially given that this is my first project and my team probably doesn't expect me to nail it the first time. Thanks for the video.
Thank you sloth.. I was over optimising my code for literally no reason.. now I feel kinda stupid.. Thanks for the timely video! Saved me a lot of time n effort.. Subscription added!
This is the best video for me right now, since yes I want everything to be perfect, now I realized I am being too hard on myself, and even my friends in programming, I keep nagging them about it. Now I feel sorry, well thank you for releasing the video.
Thanks this actually helps a lot and reinforces the idea that I should be going with the project I started, working on it actually makes me really anxious because I am scared I'll not figure out something
1. What's the data I got to work with and how much of it must we ingest at any given time? 2. What are the problem space constraints I must obey? 3. What's the output I must produce given this data? 4. What's the performance constraints given certain data sizes? 5. How frustrated would someone else get from reading code that's high on performance, but low in comprehension speed and high in overall WTH score? 6. What's the minimum information about the domain that I need to understand about from stakeholders before I can actually solve the problem? 7. Can I draw a good enough picture about the problem and how it can be solved given all the constraints above? As long as I have this benchmarks in mind and check all those boxes, I can churn out reasonable code in record time without feeling the need to be "perfect".
@SamerTahsin my advice will be learn some basics c and understand how memory manages it will help you a lot you can watche some videos on my code school
You mention doing more project will make you a better developer, how long should you spend on a given project? Or does it depend on how big of a project you’re working on?
The game undertale has a switch statement with over 1000 cases. Thats was something that showed me that often the most important thing is that it works... it doesnt matter how "bad" it's actually implemented.
The thing about "optimization" is that it means different things to different people. This is because you can optimize for different things. For example: memory usage, code size, execution time, time complexity, size complexity, latency, throughput, etc. I feel like lots of people actually try to optimize for things that are impossible to quantify or measure like "clean code", or "good code", or "DX" etc. this can easily lead to burnout and negative feelings because you're just stumbling around. You learn early in performance optimization that if you don't start by measuring then you won't actually get anything done. You also learn that there are bad and good measurements. When optimizing for "good code", you really can't make any measurements. I also feel like all the measurements that we do have in the "good code" space, like Uncle Bob's Clean Code, are actually terrible measurements. I think they are like all the measurements that companies have for developer productivity which most developers know are complete bull shit.
I would say overengineering is good for learning. Not in practice tho. From what Ive seen, the only thing that really matters is having an air tight coding standard and good docs.
I’m studying JavaScript, React for 3 years in my procrastination way and haven’t been able to finish 1 single project. I am a perfectionist guy, I don’t like messy code. Instead of just add junk code to finish the project first, no… i try to make it perfect first then I never really do anything. 3 years studying and no a single interview. It is hard being a perfectionist in life.
there was one time when I wrote a comment on a post that has a meme about bad code from a programers group on Facebook, on the comment I was asking for help to how to fix the 6 variables i made to store 3 positions, everyone thought it was funny and the 15 years old me was so frustrated 😅
This is my problem in every area of life: if I don't do it _right,_ that's bad; if I don't do it _at all,_ that's neutral. Exacerbating matters is I don't feel joy, and can't be motivated to do anything for myself; I can't "push through" bulldozer perfectionism, because there's nothing to push with.
It's better to be able to make somewhat "perfect" code (or at least understand what that means) and adapt it to your needs, than to ignore these concepts completely and not be able to apply them (overall, not in full). Good to read, get your own ideas and make productive, well-designed code. productive, well-designed code. Unfortunately, in my work, these books have probably never been read and I'm now in charge of an unmaintainable code base.
Cant write perfect code when all ur code is terrible. Most of my code breaks with the slightest breeze. But I'm learning new skills, I do try to stay with the best practices but if my code works don't touch it. Since yt keeps deleting my comments my last project was a discord bot with chatgpt integration for a roleplaying server. Learned so much in the past 3 weeks of development.
@netherportals Discord Bot using Python with ChatGPT integration for a buddies server. I eventually got it all to work "perfectly", but it took some time. trial and error and lots of learning new APIs, I also rewrote most of it to be somewhat cleaner code. Next, I'm adding a database system to keep track of scores and IDs.
@netherportals Discord Bot with chatgpt integration. I first wrote my code with horrible code but after the project started to reach a point of functionality I rewrote it to "cleaner code". most of the stuff that works I didn't touch.
@netherportals Discord bot with chatgpt intergration. I did write the first few files with terrible code to get it running, but then later on I did rewrote most of the code to be somewhat "cleaner code"
@netherportals Discord bot with chatgpt intergration. I did write the first few files with terrible code to get it running, but then later on I did rewrote most of the code to be somewhat "cleaner code"
Thank you very much for this video! Perfect code has been my downfall for so long. I’ve stopped 2 projects because of it. I’ve always had imperfect code which has always tormented me because I try my best to be the best except I’m just competing against myself. I’m not sure if that made sense but thank you anyways!
I think this is really valuable advise but for inexperienced coders wanting to make big systems, hacking something together can quickly be a disaster. It's about understanding what perfections to add for the requirements of what you're making.
Instead of perfect, write maintainable code, everybody including yourself will thank you in unspecified amount of time in the future when the time will come to refactor that thing :)
My code ends up with people emailing me thanking me for the clarity. A lot of my jobs start with someone being unhappy with the people they just hired and they declined adding a new feature, they ask me to have a look, and it's from a code farm and all of the code are just copy and pasted large blocks that seem to have never been code reviewed and they just went with the first thing that works, it's awful. So I've done a lot of top down (I'm a functional programmer at heart regardless of the language I'm using) full rewrites and it's so easy for others in the future to come along and extend it. I was in hospital for most of 2022 and so I couldn't take jobs from people I've done that for, and I've been thanked because I didn't leave them a mess. I feel that if you learn a functional language, even if you are writing a non-functional language you can approach programming in a way that is very clear from the start, as such there's no stress about writing perfect code as I'm approaching it in a way that I get close without any effort. Additionally writing things top down you start with writing a function, then the function that needs it, and the function that needs that, and so on, sometimes you may need another unwritten function where you go to the top and go down to get back to where you were. There are far fewer loose strings to deal with and you don't end up with hundreds of TODOs. As far as I'm concerned perfect code from someone else has very descriptive names, you have auto-complete use it and have descriptive names you don't have to worry about typing it all out and your lines shouldn't be so long that it's an issue (a 16:9 monitor at default font size should fit 3 panes without any horizontal scrolling).
Secure code >>>>>>>>>>>>>>>>>>>>>> Perfect code. I dont mean, that it needs to be 100% secure, but I often see beginners overanalyzing their code, making it more complex and thus more prone to vulnerabilities
I spent a whole year trying to build an application that never launched because I was fixated on optimizing every step of the user lifecycle. Eventually I ended up just redoing the entire thing and just literally cave man coded it. It ended up being far less stressful in the end.
I tried getting into gamedev and it seems like everything is so much effort. You get stuck, you Google everything and you find some channel called like "John Smith Games" who has been an indie for 15 years but never did it professionally. He knows everything but is showing you outdated and lazy ways of doing everything. Same goes for those Unreal tutorials that start with "Open up the third person template" (rather than teach the fundamentals of how it all works) as they use the old input system and hard-reference everything to break the Observer pattern.
I find myself writing code that can be considered as "not clean" or "not perfect". But I don't really care to be honest, if it at least works for me then I'll be fine with it.
I made brute force instead of binary search to find optimal angle to walk around square that half's fps. Then I figured I could just expand aabb of enemy 2 times to grt colision area expand by 1 additional unit and go to best corner after finding what one is closest to enemy back while is walkable
I practice “clean enough code” … clean code NOT optimised… it’s slow but generally more readable, but optimized code is much less readable so… I call BS on the whole thing… just do what works and then get it working as well as you can.
I enjoy coding , and wanted to make a job out of it but with the AI stuff I just had quit , is this worth doing ? ( I don't mind doing it for free but it feels like it may end up being in vain)
Hi, I have a question. I joined a coding school 6 months ago, and we have a lot of projects to complete. Some former students who have finished the projects have put them on git hub or made tutorials on medium. I see a lot of students in my class going 5x faster than me by copying the code projects we have to do and just learning how to reproduce them. But personally, I do the projects on my own then optimize to improve my problem-solving skills, architecture and build synapses related to coding but evolution takes time. Am I making a mistake in the way I learn to code? Should I be doing what they're doing?
Damn after i watch this video i feel that i put pressure on myself too much i learn too deep, overthinking and very high standard Bro you save my life, lifetime and my butt 🌚 (Really good vid)
Bro😭...why i am too bad at even doing projects own my own....i have to see the code and then write then see and then do 😭... what to do...k have learn't everything know syntax but am idiot and can't to a single project😭
I try to start it efficient enough but as obvious as possible and then after it works, think if it could be done better. If it doesn't take way too much effort and time for what the possible improvement could be then doing it. Otherwise I better go do something else. And comments, of course. A little explanation can make seemingly obscure code obvious but I see too often fellow programners won't care writing those. Sad.
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/TheCodingSloth . You’ll also get 20% off an annual premium subscription. The books I mentioned are in the description as well as my newsletter. But you better stop trying to write perfect code or else the tickle monster will get you
I wanted to do a project, but ended up agonizing too much over how to make everything clean and yet reusable that I never even got started properly.
Yess!
I obsessed over creating perfect classes, reusable modules...and I realized...no one cares that class to be modifiable in anyway...they care about it making it's job in that moment...
@@alexale5488 You have to find a good balance.
Perfect code is mostly useless and slow.
But too bad code is a nightmare past a few files/hundred of lines.
I actually gave a lot of thought about that topic today since I'm currently guilty about this.
The problem with trying to always maintain that high standard is that you're gonna always write flawed code since you don't know everything and you end up slowing yourself down and potentially your team, and this also induces a lot of pressure and anxiety on yourself too.
If you turn out be entangled in that curse, IMO the remedy is that you have to LEARN to be okay with the fact that the code you wrote is not written in the best possible way and leave any unnecessary premature optimization loophole, yet still good enough in order for you to continue to move on towards what you / your team is building.
It gets worse if what you're trying to write is something you want to include in your portfolio, because the engineer who will judge you if you deserve the job will read it
5:47 This is the most beautiful function I have ever seen! Peak software engineering.
that's how I write shit lmao, I guess I'm a really bad programmer then😂😂
Best recursion ever.
Oh yeah, let’s run a recursive algorithm all the way to the data type’s max value and once we get there, determine if the number is even or odd lol (rip modulo)
Bro i rather find another solution over trying to do all that crap
Actually good artists have a super power of embracing their mistakes/Imperfections. Coders also need this (for personal project only).
I think noita is a perfect example of why those last four words are not the best way
There's three glitches in noita that instead of removing the bugs outright they nerfed them so their game wouldn't be destroyed but the community wouldn't be angry
1. The heartmage trick, They made it so the effect didn't apply when your max hp was too low but still kept it pretty powerful
2. Perk duping, They made it so it'd be dangerous and with each new update it's like a puzzle to figure out how to keep perk duping without the possibility of losing all your progress
3. (i don't know what the community calls it exactly) Infinite gold from pheromoning an empty wand to make it spawn a ton of invisible ghosts that you can kill for gold, nerfed by making it just simply sell the wand turning it into gold
I am just starting my coding “lifestyle” this year, starting school in the fall, and you have been such an influence!!! Love the videos
Oh man, I got all 3 types of perfectionism and it really sucks me dry. Going from burnout to burnout.
I think our society needs a therapist type specifically for programmers...
That already exist. They're called mentors
@@skiez7430 No- no I mean the obsession with writing perfect code can often have a deeper psychological origin, and relying solely on the code side may not solve the underlying issue.
Brother i found you bcoz of random() of youtube algorithm
anyway your way of explanation was to the point and needed in today's era of programming, thanks a lot cheers
This is my answer to my problem lol. Currently stuck on a project trying to get a clean code. I am a beginner, Thank you for this!
I go through tutorial after tutorial and feels like my code sucks even the moment I type it. I haven't wrote a single functional app that I can call "my own" for months. I also chase the "best language" so my knowledge is shallow in multiple languages instead of deep in 1-2. Thank you for this, I'll read the pragmatic programmer AND apply it.
This is so timely. I'm currently going through this, as I'm assigned to a project in work wherein it's the first project for my team that's supposed to pay more attention to optimization.
The problem is I'm a junior dev who's too smooth brain. I guess I should dial it back a bit and not obsess over every line of code, especially given that this is my first project and my team probably doesn't expect me to nail it the first time.
Thanks for the video.
Thank you sloth.. I was over optimising my code for literally no reason.. now I feel kinda stupid.. Thanks for the timely video! Saved me a lot of time n effort.. Subscription added!
Learning programming, is always, about make code, breake code, repair code, upgrade code, and repeat
This is the best video for me right now, since yes I want everything to be perfect, now I realized I am being too hard on myself, and even my friends in programming, I keep nagging them about it. Now I feel sorry, well thank you for releasing the video.
Thanks this actually helps a lot and reinforces the idea that I should be going with the project I started, working on it actually makes me really anxious because I am scared I'll not figure out something
1. What's the data I got to work with and how much of it must we ingest at any given time?
2. What are the problem space constraints I must obey?
3. What's the output I must produce given this data?
4. What's the performance constraints given certain data sizes?
5. How frustrated would someone else get from reading code that's high on performance, but low in comprehension speed and high in overall WTH score?
6. What's the minimum information about the domain that I need to understand about from stakeholders before I can actually solve the problem?
7. Can I draw a good enough picture about the problem and how it can be solved given all the constraints above?
As long as I have this benchmarks in mind and check all those boxes, I can churn out reasonable code in record time without feeling the need to be "perfect".
i started coding yesterday
Welcome to the abyss
good luck bro you're gonna need it
Good luck buddy which language you are learning ?
Jesus Christ don't be consumed by complicated stuff early on. Focus on understanding your programming language and build stuff first
@SamerTahsin my advice will be learn some basics c and understand how memory manages it will help you a lot you can watche some videos on my code school
I only strive for a minimum of good enough,and if it ends up better,good for me
Clean Code is like 1000 pages, bro, respect
It's the same as writing a novel/short story. You have to edit after or you'll never finish the book, but if you do It'll still need editing.
If it worls it works
Moving fast to learn is one thing.
Moving fast at work likely leads to technical debt, which will need to be refactored at some point
You can definitely end the video just 2 seconds in. Perfect code does suck. It’s a unicorn
You mention doing more project will make you a better developer, how long should you spend on a given project? Or does it depend on how big of a project you’re working on?
Bro the spongebob intro took me back so hard I felt like a little kid in the safest space possible
The game undertale has a switch statement with over 1000 cases. Thats was something that showed me that often the most important thing is that it works... it doesnt matter how "bad" it's actually implemented.
Minecraft Java Edition has one too
I remember this guy’s video about being unemployed last year.
I was too. I hope he’s found a job since then.
The thing about "optimization" is that it means different things to different people. This is because you can optimize for different things. For example: memory usage, code size, execution time, time complexity, size complexity, latency, throughput, etc. I feel like lots of people actually try to optimize for things that are impossible to quantify or measure like "clean code", or "good code", or "DX" etc. this can easily lead to burnout and negative feelings because you're just stumbling around. You learn early in performance optimization that if you don't start by measuring then you won't actually get anything done. You also learn that there are bad and good measurements. When optimizing for "good code", you really can't make any measurements. I also feel like all the measurements that we do have in the "good code" space, like Uncle Bob's Clean Code, are actually terrible measurements. I think they are like all the measurements that companies have for developer productivity which most developers know are complete bull shit.
I've never felt so called out
Yall not hearing him! Stay with him now 🗣️🔥🔥
I would say overengineering is good for learning. Not in practice tho. From what Ive seen, the only thing that really matters is having an air tight coding standard and good docs.
I’m studying JavaScript, React for 3 years in my procrastination way and haven’t been able to finish 1 single project. I am a perfectionist guy, I don’t like messy code. Instead of just add junk code to finish the project first, no… i try to make it perfect first then I never really do anything. 3 years studying and no a single interview. It is hard being a perfectionist in life.
And this my friends is why i only code on a per project basis, otherwise i would physically destroy myself with my own unrelenting imposter syndrome
there was one time when I wrote a comment on a post that has a meme about bad code from a programers group on Facebook, on the comment I was asking for help to how to fix the 6 variables i made to store 3 positions, everyone thought it was funny and the 15 years old me was so frustrated 😅
Done > Elite
Thank you for this sloth
This is my problem in every area of life: if I don't do it _right,_ that's bad; if I don't do it _at all,_ that's neutral. Exacerbating matters is I don't feel joy, and can't be motivated to do anything for myself; I can't "push through" bulldozer perfectionism, because there's nothing to push with.
It's better to be able to make somewhat "perfect" code (or at least understand what that means) and adapt it to your needs, than to ignore these concepts completely and not be able to apply them (overall, not in full).
Good to read, get your own ideas and make productive, well-designed code.
productive, well-designed code.
Unfortunately, in my work, these books have probably never been read and I'm now in charge of an unmaintainable code base.
I've started rolling with the idea that "clean code" basically means it minimizes the amount of frustration it brings people.
Cant write perfect code when all ur code is terrible. Most of my code breaks with the slightest breeze. But I'm learning new skills, I do try to stay with the best practices but if my code works don't touch it. Since yt keeps deleting my comments my last project was a discord bot with chatgpt integration for a roleplaying server. Learned so much in the past 3 weeks of development.
@netherportals Discord Bot using Python with ChatGPT integration for a buddies server. I eventually got it all to work "perfectly", but it took some time. trial and error and lots of learning new APIs, I also rewrote most of it to be somewhat cleaner code. Next, I'm adding a database system to keep track of scores and IDs.
@netherportals Discord Bot with chatgpt integration. I first wrote my code with horrible code but after the project started to reach a point of functionality I rewrote it to "cleaner code". most of the stuff that works I didn't touch.
@netherportals Discord bot with chatgpt intergration. I did write the first few files with terrible code to get it running, but then later on I did rewrote most of the code to be somewhat "cleaner code"
@netherportals Discord bot with chatgpt intergration. I did write the first few files with terrible code to get it running, but then later on I did rewrote most of the code to be somewhat "cleaner code"
@netherportals Well, it's no wonder why it'd break. Even tangentially releated LLM nonsense is incredibly finicky.
Just the video I needed.
I don't know why we say "good code" and not "good enough code" cause at the end of the day that is what it's what matters
Super awesome video, very enlightening, subscribed!
Write good code
Tell chatgpt to optimise it
~ *Wiseman*
Hi sloth hope yoy are doing OK. I from Colombia 🇨🇴 . And I really like your videos !!!!❤
Thank you very much for this video! Perfect code has been my downfall for so long. I’ve stopped 2 projects because of it. I’ve always had imperfect code which has always tormented me because I try my best to be the best except I’m just competing against myself. I’m not sure if that made sense but thank you anyways!
I think this is really valuable advise but for inexperienced coders wanting to make big systems, hacking something together can quickly be a disaster. It's about understanding what perfections to add for the requirements of what you're making.
Whoa, what a cool montage style 😎 Ty for the video, hope u have a good day
7:30
"I have not failed, but found 1000 ways to not make a light bulb"
- Thomas Edison
Instead of perfect, write maintainable code, everybody including yourself will thank you in unspecified amount of time in the future when the time will come to refactor that thing :)
My code ends up with people emailing me thanking me for the clarity. A lot of my jobs start with someone being unhappy with the people they just hired and they declined adding a new feature, they ask me to have a look, and it's from a code farm and all of the code are just copy and pasted large blocks that seem to have never been code reviewed and they just went with the first thing that works, it's awful. So I've done a lot of top down (I'm a functional programmer at heart regardless of the language I'm using) full rewrites and it's so easy for others in the future to come along and extend it. I was in hospital for most of 2022 and so I couldn't take jobs from people I've done that for, and I've been thanked because I didn't leave them a mess. I feel that if you learn a functional language, even if you are writing a non-functional language you can approach programming in a way that is very clear from the start, as such there's no stress about writing perfect code as I'm approaching it in a way that I get close without any effort.
Additionally writing things top down you start with writing a function, then the function that needs it, and the function that needs that, and so on, sometimes you may need another unwritten function where you go to the top and go down to get back to where you were. There are far fewer loose strings to deal with and you don't end up with hundreds of TODOs.
As far as I'm concerned perfect code from someone else has very descriptive names, you have auto-complete use it and have descriptive names you don't have to worry about typing it all out and your lines shouldn't be so long that it's an issue (a 16:9 monitor at default font size should fit 3 panes without any horizontal scrolling).
jokes on you I was already too lazy to make my code do anything but work
I love this video, thank you. I'm just starting my programming journey :)
what if you write in assembly? because if you dont get your code right you get a segmentation fault.
Perfectionism is a sign of OCDP personality!
5:22 "Premature ejacul... Premature optimization!"🤣🤣🤣
Secure code >>>>>>>>>>>>>>>>>>>>>> Perfect code.
I dont mean, that it needs to be 100% secure, but I often see beginners overanalyzing their code, making it more complex and thus more prone to vulnerabilities
sloth does it get better
Uhhh I think it does
nah
Please dude what editing software do you use ?
I spent a whole year trying to build an application that never launched because I was fixated on optimizing every step of the user lifecycle.
Eventually I ended up just redoing the entire thing and just literally cave man coded it. It ended up being far less stressful in the end.
Good to see devs still reading The Pragmatic Programmer..but f*k I'm old.
As a hobbyist concept artist, I don't know when to stop scribbling on a painting
Bro I created over 10-15 games, but still I think that I'm only able to write "hello world" and nothing else
same bro😭 I'm kind of learning, but I still feel like that all can i write it's hello world
Seems like you make these games by watching youtube tutorial😂😂
@@unknownbirdpro yeah get out of tut hell if that's where you're at
I tried getting into gamedev and it seems like everything is so much effort. You get stuck, you Google everything and you find some channel called like "John Smith Games" who has been an indie for 15 years but never did it professionally. He knows everything but is showing you outdated and lazy ways of doing everything.
Same goes for those Unreal tutorials that start with "Open up the third person template" (rather than teach the fundamentals of how it all works) as they use the old input system and hard-reference everything to break the Observer pattern.
What's the tts voice you're using for books?
thanks so much
I disagree. I wrote perfect code but there is just one more bug to fix..
A very good video sloth, keep it up!
10/10 video, though living in my walls to obtain data for this very personal attack seems a bit much tbh.
6:00 But optimizing my for loop feels so good :(
Same
I find myself writing code that can be considered as "not clean" or "not perfect". But I don't really care to be honest, if it at least works for me then I'll be fine with it.
you dont have to write "perfect code" but remember:
*dont write code like yanderedev*
Sloth Bytes is not in the description
Tgis is like Bigbox SWE but 10 minute videos
Waiting for the primeagens take on this
Great video
Now I be That guy.. 5:47.. recursion really 🤣..
lalalala.. return !(n%2);
My man, great video you got there, but recommending anything from Bob Martin makes me very uneasy
guys i have a question, should I learn python or godot game development?
The anxiety of making "perfect" code is the worst feeling that I had
you going to make perfect code, but your making just nothing. I know that feeling
I made brute force instead of binary search to find optimal angle to walk around square that half's fps.
Then I figured I could just expand aabb of enemy 2 times to grt colision area expand by 1 additional unit and go to best corner after finding what one is closest to enemy back while is walkable
I practice “clean enough code” … clean code NOT optimised… it’s slow but generally more readable, but optimized code is much less readable so… I call BS on the whole thing… just do what works and then get it working as well as you can.
I enjoy coding , and wanted to make a job out of it but with the AI stuff I just had quit , is this worth doing ? ( I don't mind doing it for free but it feels like it may end up being in vain)
My new job correspond need perfect code that make me burnout
Yes
Liked,commented and already subbed❤
Hi, I have a question. I joined a coding school 6 months ago, and we have a lot of projects to complete. Some former students who have finished the projects have put them on git hub or made tutorials on medium. I see a lot of students in my class going 5x faster than me by copying the code projects we have to do and just learning how to reproduce them. But personally, I do the projects on my own then optimize to improve my problem-solving skills, architecture and build synapses related to coding but evolution takes time. Am I making a mistake in the way I learn to code? Should I be doing what they're doing?
Nice video
Thanks for the video
I do not have this problem. I'm the personification of the "good enough" meme while coding.
Sorry, but I'm addicted to it like crack cocaine, so no.
5:25 😆
Damn after i watch this video i feel that i put pressure on myself too much i learn too deep, overthinking and very high standard
Bro you save my life, lifetime and my butt 🌚
(Really good vid)
I came for programming tips and I got life lessons. What’s next? I gotta shower?
another banger
I will start coding from tomorrow
Bro😭...why i am too bad at even doing projects own my own....i have to see the code and then write then see and then do 😭... what to do...k have learn't everything know syntax but am idiot and can't to a single project😭
Thanks for such Soo cool informations 💌💌💌
I try to start it efficient enough but as obvious as possible and then after it works, think if it could be done better. If it doesn't take way too much effort and time for what the possible improvement could be then doing it. Otherwise I better go do something else. And comments, of course. A little explanation can make seemingly obscure code obvious but I see too often fellow programners won't care writing those. Sad.
Bro, did you know that in portuguese sloth means Lazy? Sorry for the randomness I was taking a shower and thought about this 🙂
Did you know that ChatGPT pronounced in French translates to "cat, I farted"?
ahh I feel so lucky, that I'm bad with coding, so I won't have perfectionism nice