Software Engineering "Best Practices"

  Рет қаралды 404,392

Ben Awad

Ben Awad

4 жыл бұрын

Coding best practices are best and the worst.
----
Checkout my side projects:
If you're into cooking: www.mysaffronapp.com/
----
Join the Discord: / discord
----
Patreon: / benawad
----
Follow Me Online Here:
Twitter: / benawad
Twitch: / benawad
GitHub: github.com/benawad
LinkedIn: / benawad
Instagram: / benawad97
#benawad
TikTok: / benawad ​

----
Follow me online: voidpet.com/benawad
#benawad

Пікірлер: 744
@bhsiao123
@bhsiao123 4 жыл бұрын
"writing bad code is a prerequisite to writing good code" can't agree more
@yusufklc7821
@yusufklc7821 4 жыл бұрын
l think same. You can't learn just listen and reading how to code. You just need to write. And write more and more code to write better. Some people on internet will say your code is bullshit. They are just wrong.
@potatoxel7800
@potatoxel7800 4 жыл бұрын
Yeah, I write bad code, then refactor it to other bad code. c:
@marceloescamilla8867
@marceloescamilla8867 4 жыл бұрын
same. I just write something that solves my problem, then I refactor and pretify.
@muhammadmuzammil2140
@muhammadmuzammil2140 3 жыл бұрын
Not gonna lie, this hit me on a completely different level
@StewieGriffin
@StewieGriffin 3 жыл бұрын
People that write bad code when they first start out should not be programmers. Not everyone should learn Computer Science. I had a professor that was an experienced programmer, he urged us to use simplicity and readable code.
@vinidotnet
@vinidotnet 4 жыл бұрын
Roasting AngularJS is a best practice that must be followed
@SoferPeOZN
@SoferPeOZN 3 жыл бұрын
I officially hate you
@TheoParis
@TheoParis 3 жыл бұрын
UFO Driver XD
@matheusBBarni
@matheusBBarni 3 жыл бұрын
Angularjs haters are hipsters devs, so it must be good.... Just kidding, as a angularjs dev migrating to react, you are right hahhahah
@Yahaire5
@Yahaire5 3 жыл бұрын
@@matheusBBarni You fool! Try Angular with TypeScript! Really, though, as the guy says on the vid, the things you use depend a lot on what you are doing. Personally, I prefer React for small/medium projects and Angular for complex projects. I'm even using AngularJS right now as a first step to port a project that's badly written on PHP with vanilla JS... it's a nightmare
@JeyPeyy
@JeyPeyy 3 жыл бұрын
People always conflate AngularJS and Angular, missing that they're actually two quite different frameworks. Yes, AngularJS was trash, but Angular is pretty good if you want a complete solution
@aidanivesdavis
@aidanivesdavis 3 жыл бұрын
“this is mostly a problem with junior developers” *looks 19*
@nathanb011
@nathanb011 3 жыл бұрын
MoonPadUSer I mean, this channel is 9 years old, and he started uploading 6 years ago.
@apolloeosphoros4345
@apolloeosphoros4345 3 жыл бұрын
nah man it's legit, junior/senior developer is a state of mind i'm 29 with 4 years of experience, 3 years ago i was mad at taking direction from a 20 year old but realised within a month or two i needed to leave to gain more exp elsewhere... now i'm in a company where a 40 year old is somehow the lead with very little experience... how the turn tables
@Midna81
@Midna81 3 жыл бұрын
@@apolloeosphoros4345 "junior/senior developer is a state of mind" THIS.
@PaladinJenkis
@PaladinJenkis 3 жыл бұрын
I've heared he just got the "Pubic Hair Unlocked" achievement.
@BillClinton228
@BillClinton228 3 жыл бұрын
I knew a guy who started coding at 11 and now at 19 he knows more about code than me... and I'm 34.
@yawarapuyurak3271
@yawarapuyurak3271 3 жыл бұрын
Step 1: write code, make sure it works Step 2: reflect on the code. See what works, what doesn't. What you like, what yo don't like Step 3: retry making said code. Maybe just some small tweaks, maybe a new radical approach Step 4: repeat 1-3 Congratulations! You're know on the path to become an actual good dev
@vivekvitthalraopatil2775
@vivekvitthalraopatil2775 3 жыл бұрын
I got fired
@glengub
@glengub 3 жыл бұрын
@@vivekvitthalraopatil2775 😂
@cashtache
@cashtache 2 жыл бұрын
Refactor
@dmh20002
@dmh20002 4 жыл бұрын
I worked at a place that did government work and every contract called for 'software best practices'. Unfortunately that was never defined. So we just did what we always did. No one complained.
@Jestrath
@Jestrath 4 жыл бұрын
Not going to lie I have heard of contracts that have used those exact same words lol. I think "best practice" is pretty subjective.
@secretluver
@secretluver 3 жыл бұрын
Lmao. Was this for the air force?
@diablo.the.cheater
@diablo.the.cheater 3 жыл бұрын
I think those mean: Don't be a hack that makes Italian cuisine and write proper maintainable code.
@Alan-jg4lf
@Alan-jg4lf 3 жыл бұрын
I once overheard a principle engineer say "yeah we could code that up nicely but I don't think it's actually worth putting a lot of energy into. Instead, let's get it working as quickly as possible because we have more important things to deal with." That has stuck with me.
@alenasenie6928
@alenasenie6928 3 жыл бұрын
"As long as it works and do what is needed is good", was something i did before, now i add "it has to be easy to undertand" and i archive that by using long variables, Like if i load an image in the program the variable is image and not I or Im because that can be confusing when you see it used long after it was loaded, it also is a good way to do programs in groups, if is easy to understand you dont need to explain your code, the hard part came when a teacher in the university had a "do the program with comments" because most of the program is so clear that i dont know what to comment so it has things like "load image in image" and things like that
@arashitempesta
@arashitempesta 3 жыл бұрын
@@alenasenie6928 imagine writing clear and understandable variable names that reflect their intent, instead of becoming a "coding ninja/wizard/warlock/robot' using only one letter and doing everything in a single line.
@arashitempesta
@arashitempesta 3 жыл бұрын
@@tripplefives1402 30? those are rookie numbers
@yowza9638
@yowza9638 3 жыл бұрын
@@arashitempesta This was a masterful response.
@oliverhughes169
@oliverhughes169 3 жыл бұрын
"let's get it working as quickly as possible", is an open invitation for bugs and regression in the future. To code fast, is to code well. Being unprofessional like this, will cause problems in the future, and actually slow down the progress of the project as time goes on. It's not clear if it stuck with you because you thought it was shockingly unprofessional for a principle engineer to suggest such an approach, or because you thought that it must be a good idea - because it came from a principle engineer!
@rejiark2500
@rejiark2500 4 жыл бұрын
God: What did you all do in your life. Web developers: We build the same thing with 100 different framework. God: ...
@jt0308
@jt0308 4 жыл бұрын
sounds like an incredibly interesting investigation to me...
@dealloc
@dealloc 4 жыл бұрын
@@jt0308 It's called TodoMVC :)
@deleted01
@deleted01 4 жыл бұрын
It's like making love with the same woman in 100 different ways--or so I tell myself
@jt0308
@jt0308 4 жыл бұрын
​@@dealloc​ thats perfect, thank you!
@rejiark2500
@rejiark2500 4 жыл бұрын
@@deleted01 its not a women stop objectification of frameworks :D
@NitrixTech
@NitrixTech 4 жыл бұрын
It's amazing how Ben roasts angular so well, that even as an Angular developer, I'm so excited to see what roasts he comes up with every video 😂
@henrymussemann3253
@henrymussemann3253 4 жыл бұрын
what bugs and entertains me most is that he will continue calling it angular.js which basically doesn't exist anymore and me not being able to should ANGULAR back
@NitrixTech
@NitrixTech 4 жыл бұрын
@@henrymussemann3253 100x times agree, I've thought about making a response video called Angular.js is not Angular lol
@luci868
@luci868 4 жыл бұрын
He means Angular.js tho, as he separately roasted Angular.js and Angular in the same video one time
@NitrixTech
@NitrixTech 4 жыл бұрын
@@luci868 I know but I feel like he uses points about Angular.js sucking to bring down both lol. Everyone agrees Angular.js is bad, no new project uses it anymore
@pulga961
@pulga961 4 жыл бұрын
shut up! You are not angular developer.
@CameronRounder
@CameronRounder 4 жыл бұрын
Best practices is to get everyone on a project writing code in a similar way. In both style and in logic. If you need to practice, do it on side projects and not with your companies project
@sidouglas
@sidouglas 4 жыл бұрын
Agreed. It should look like it's been written by one author.
@Temilollu
@Temilollu 3 жыл бұрын
I totally agree, so any new developer coming into the codebase won't have to learn different "best practices", by just studying one you can pretty much understand how the rest work to an extent
@MsJavaWolf
@MsJavaWolf 3 жыл бұрын
I agree. As lng as the company approach isn't completely stupid, it's usually better to follow it, rather than break cohesion.
@greatbullet7372
@greatbullet7372 3 жыл бұрын
to think like that is propably a disease by framework users :D low level code from scratch has always a touch of the author. If u want it or not
@wcandillon
@wcandillon 4 жыл бұрын
You got me sweating for a minute there with that class component 😅
@theguyfromsikkim5786
@theguyfromsikkim5786 4 жыл бұрын
Waiting for ur course on new reanimated 🙌🙌🙌
@jemesmemes9026
@jemesmemes9026 4 жыл бұрын
Big fan of your reanimated content! 🤗
@InstituteOfDataArchitecture
@InstituteOfDataArchitecture 3 жыл бұрын
Really good video. I’m in BI and I see following “best practices” as a mantra everywhere. Especially, many of the best practices that companies follow today were developed in the nineties to overcome specific hardware/software limitations, that we don’t have today.
@nateo7045
@nateo7045 4 жыл бұрын
Omg thank you so much for reminding me of the pottery parable! That had long since left my mind and I am actually very pleased you were able to return it to me(:
@grimmdanny
@grimmdanny 3 жыл бұрын
Best practice: Complete your tasks on-time so you have a job the next day.
@slavsquatsuperstar
@slavsquatsuperstar 3 жыл бұрын
Love it! I’m often hesitant to try/start new things! This is useful in any context.
@adamjones7497
@adamjones7497 4 жыл бұрын
The purpose of best practices is to enable teams to quickly adapt and change to the needs of the business by following commonly agreed upon “rules”. It also enables new engineers to more quickly onboard to projects where more broadly accepted practices are used.
@DatascienceConcepts
@DatascienceConcepts 4 жыл бұрын
This was so required! Thanks for creating this video :)
@jakebirkes
@jakebirkes 4 жыл бұрын
I can't help but notice your framed photo is slowly sinking.
@frankyb702
@frankyb702 4 жыл бұрын
Jake Birkes - he is still growing
@linuxland
@linuxland 4 жыл бұрын
Just like humanity
@supigagliardi2118
@supigagliardi2118 4 жыл бұрын
Just like angular
@latergator915
@latergator915 4 жыл бұрын
I looked up a hanging photos tutorial and it said that's best practise.
@AlanTuringWannabe
@AlanTuringWannabe 3 жыл бұрын
It's a best practice
@TheWorldIsPeopleing
@TheWorldIsPeopleing 4 жыл бұрын
Note to self: start growing a lot of pot to become a good developer
@kickeddroid
@kickeddroid 4 жыл бұрын
Programming high is the best shit ever
@igordumencic1427
@igordumencic1427 4 жыл бұрын
aidxn agredoo
@stevez5134
@stevez5134 4 жыл бұрын
I’m definitely a senior developer then
@EssLoco
@EssLoco 3 жыл бұрын
@@kickeddroid im gonna give this a go!
@itzaprem6358
@itzaprem6358 3 жыл бұрын
@@EssLoco so
@alejandrocastroq
@alejandrocastroq 3 жыл бұрын
awesome analysis bro ! keep it up !
@uoweme5grand
@uoweme5grand 4 жыл бұрын
This is great. I already know everything you talked about but I just never internalized it and thus never consciously made an effort to do it. Thanks
@gadgetboyplaysmc
@gadgetboyplaysmc 3 жыл бұрын
How have I not found you before. I didn't know that this was gonna be super insightful. Subscerbed!
@jason_v12345
@jason_v12345 4 жыл бұрын
I've never heard anyone refer to a framework or library as a "best practice."
@ultralordx
@ultralordx 3 жыл бұрын
ikr, that's what I thought.
@Darklor_WCF
@Darklor_WCF 3 жыл бұрын
I believe he is saying that the use of frameworks in general is the "best practice" not a specific one
@loucadufault6549
@loucadufault6549 3 жыл бұрын
Because he is completely confused on the terminology. Like 80% of the time he said "best practice" he meant "design pattern". The rest of the time he meant framework.
@evannibbe9375
@evannibbe9375 3 жыл бұрын
stdlib.h is a best practice for C code rather than writing dynamic memory allocations and file accesses in assembly code.
@igorswies5913
@igorswies5913 3 жыл бұрын
jQuery on stackoverflow...
@sanjarmirakhmedov4016
@sanjarmirakhmedov4016 4 жыл бұрын
Such a great video Ben, I was struggling trying to write best code right from the beginning of the projects, wasting tons of time and overengineering and not having any outcome at the end.
@joaopaulooliveirasantos7733
@joaopaulooliveirasantos7733 3 жыл бұрын
Good idea! Thanks Ben
@andrericardo6160
@andrericardo6160 3 жыл бұрын
This is something that I had to hear. Ty!
@JamesCubes-ne2iq
@JamesCubes-ne2iq 4 жыл бұрын
This video was super helpful. I am a C++ programmer and here is one of the best practices I made: I started out using pure virtual to create a template class. Then I subclass it for each implementation. I used to create a new class as a wrapper but that was silly. I changed it to use a static method in the template class. I write of a lot of platform dependent code so this is really useful
@lonnybulldozer8426
@lonnybulldozer8426 4 жыл бұрын
Bro, best practice makes best perfect.
@Zhuinden
@Zhuinden 3 жыл бұрын
Hey this is actually a pretty good and informative video, well done
@Themefull
@Themefull 3 жыл бұрын
m8 i luv u im so glad i found this channel
@jmunguia29
@jmunguia29 2 жыл бұрын
I feel so motivated and seen right now lmao 🥰😂🤣 Seriously, that was amazing thank you!🙏🏻
@stormos25one
@stormos25one 3 жыл бұрын
My gawd, I think this is the funniest "TECH" channel I've come across in a long while.
@abhishekagarwal3812
@abhishekagarwal3812 3 жыл бұрын
Love the correlation you gave with the teacher and pottery example. Pretty applicable😍
@aethelbread
@aethelbread 3 жыл бұрын
Video may be a month old, but I needed this. I'm gonna go make some pots. Thanks Ben.
3 жыл бұрын
Ok, you earned my respect 👍 *(subscribed and bell activated)*
@kernel8803
@kernel8803 4 жыл бұрын
As far as programming advise, this is some of the best I have heard in a long time, seriously!!!
@mrelec1000
@mrelec1000 4 жыл бұрын
Highlight of the day
@connerallen642
@connerallen642 3 жыл бұрын
Congrats on the 100k Ben.
@queenstownswords
@queenstownswords 3 жыл бұрын
"javascript frameworks are a disease"... you get a thumbs up for that sir!
@KyleSmithNH
@KyleSmithNH 3 жыл бұрын
I laughed out loud at this line.
@greatbullet7372
@greatbullet7372 3 жыл бұрын
@@KyleSmithNH me too ! :D everyone in the industry knows that
@andy1356000
@andy1356000 4 жыл бұрын
Theres a kind of related talk: "Navigating the Hype-Driven Frontend Development World Without Going Insane"
@duckmeat4674
@duckmeat4674 3 жыл бұрын
@Shalin Singh lol okay singh
@arashitempesta
@arashitempesta 3 жыл бұрын
"I just learnt this perfect stack for graphql there---- aaaaand 2 of the frameworks I was using became deprecated"
@ricosaen7582
@ricosaen7582 3 жыл бұрын
It's really not only important to learn what is a best practice in an area, but further why and when it is a best practice. A best practice has it's purpose and reason to be a best practice and is seldom universal. I totally agree to your point of view, Ben Awad.
@mortezatourani7772
@mortezatourani7772 4 жыл бұрын
Really insightful. Thanks. I was looking for best practices for the last 2 years and cause of that everyone think I'm as good as a tech lead. However, It prevent me from thinking simple and make it hard to learn new thing considering so many unnecessary steps I take when checking something new.
@simonc2777
@simonc2777 3 жыл бұрын
I agree with the general premise of this video. Talking about specifics, though, it's still worth creating pure components even if it renders the same number of times as stateful components, because it makes it easier to write test cases and debug state-based bugs. Also helps with code organization and speeding up onboarding new members on to the project.
@hastingskondwani1066
@hastingskondwani1066 3 жыл бұрын
100K subs now. You deserve a million bro
@josemiguelochoa5372
@josemiguelochoa5372 4 жыл бұрын
With React for example, if you use Typescript and you start to split components into more manageable pieces of code FROM THE FIRST TIME maybe you realize that you need to write A LOT OF boilerplate code (types) for the props and the signature of the function component, and maybe those components are not going to be reused. So in this case, maybe it's a good idea to refactor when needed, instead of split everything because it's considered a best practice
@ChristopherLaw_
@ChristopherLaw_ 4 жыл бұрын
I love the picture of Ajani in the background. Haha,nice touch.
@curtisw0234
@curtisw0234 4 жыл бұрын
Getting good at software development is just like getting good at other skills in life. I can draw so many parallels from what you're saying and honestly it so true
@RoyRope
@RoyRope 4 жыл бұрын
Expected a pure comedy video, not disapointed and subscribed.
@darkfafi
@darkfafi 3 жыл бұрын
I always keep true to having a set of problems, and if I don't have arguments that those 'best practices' solve them for me, I do not blindly follow them. For example, I am quite firm with code conventions. Because the problem you solve is to be able to make quick assumptions of the code without having waste time doing tons of research behind it. However, if this same problem is solved in a different way, you could argue the best practice no longer has its place. To not hold onto traditions without knowing why.. But as you stated. Write bad code to improve on it. That's why prototyping a concept is a must, especially for new ideas. For you write the bad code in the prototype, and apply the lessons learned in the final product. Great video! This channel gives a lot many programming channels are lacking. The mindset of programming.
@FLUFFYCAT_PNW
@FLUFFYCAT_PNW 3 жыл бұрын
I just found this channel today, and I absolutely love it, man. So much on-point material. And about 5 videos in, I'm starting to get the feeling that AngularJS killed your family... Blood vengeance that shit, bruh. Good stuff, keep it up, man.
@cbaxtermusic
@cbaxtermusic 3 жыл бұрын
Ben this advice is so real, I'm self-taught and I don't have a CS degree and was able to land a job at one of the FANG companies as an SDE II, now with that said, I think I gained the most from my learning process as I was building and constantly refactoring my personal projects. I would have code I wrote months ago and end up rewriting the entire package because I learned something new or had my own standard or a more consistent way of doing things like DB handlers and such, anywho at the end of the day what I managed to realize is that all 3-4 implementations I would do for a use case, all of the required features would still work, so what was the point........what your talking bout right now was the point for me, I wrote so much bad code that I ended up developing really good coding habits in the process .........great video.
@parkernilson8262
@parkernilson8262 3 жыл бұрын
thank you for this video, Thought Leader Ben
@joeyyang1025
@joeyyang1025 4 жыл бұрын
This is amazing.
@thefrey9588
@thefrey9588 3 жыл бұрын
Ok, computer.
@TheTenThousandThings
@TheTenThousandThings 2 жыл бұрын
that anecdote was a banger
@XavierGoncalves89
@XavierGoncalves89 4 жыл бұрын
the pure component everywhere approach catches up with you really fast once bugs start to appear
@fragarena9910
@fragarena9910 3 жыл бұрын
great video
@kokizzu
@kokizzu 3 жыл бұрын
Svelte
@grank8189
@grank8189 3 жыл бұрын
Recently I fell into this trap again, because there's a new big project at work, and everyone kept telling me about this framework and that library to try. It made me paranoid about "falling behind" the industry best practice, and I spent so much time reading on those stuff instead of actually making the product. Funny thing is, I ended up concluding that I don't need them. It's silly how easy it is to get obsessed about these things. If whatever tools you're currently using work fine, it's totally okay to just keep using them.
@shepherd_of_art
@shepherd_of_art 3 жыл бұрын
I so agree with this! You need to experiment with code in order to find out why the best practices are the way they are and for exactly what use cases they have been developed. Never follow blindly something no matter what it is. It's extremely often in software engineering that you need to develop a custom practice and you'll just be lost and use the wrong tool if haven't experimented enough at first.
@aualdrich
@aualdrich 3 жыл бұрын
"Reflect" is a vastly underused tool in software development. Great advice!
@28likeyou
@28likeyou 3 жыл бұрын
Everything is moving so fast that in most cases you have no other choice then to follow "Best Practices". Thanks Ben for great video.
@tech4028
@tech4028 4 жыл бұрын
0:07, rEaCt is a good fRaMeWork (i saw your tweet today, haha)
@jeshocarmel
@jeshocarmel 4 жыл бұрын
Hey ! Good talk man 👍 makes sense
@tylim88
@tylim88 3 жыл бұрын
i rewrite my side project code for i dont know many times, i do know the whole rewrite cost me half year, in the end my code looks really nice, well structured, easy to use and less prone to mistake, i guess i dont really need a side project, i simply enjoy the brainstorming process
@Sam-kr5ix
@Sam-kr5ix 3 жыл бұрын
Amazing video I was facing a similarité problem when i use best practice instead of my own ideas even when i see thoses best practices does not much with the current project
@GodofWar1515
@GodofWar1515 3 жыл бұрын
I totally agree, from what I've learned there is no one solution that solves all problems. So based on what you're doing you may feel satisfied with the solution from someone else. Or you might try to adapt the solution to the trade offs that you want. So over all just like you said, just keep trying out new ideas and see what happens.
@rodrigoordonez2295
@rodrigoordonez2295 3 жыл бұрын
My thesis is about best practices in software engineering... KZbin algorithm knows me well haha
@Whitesummer3
@Whitesummer3 3 жыл бұрын
I'd be interested in hearing your take on PureComponents. I've been doing a similar thing at work and have been using PureComponents for most of my code. As far as I understand it, PureComponents don't do deep-object prop checking for determining whether or not to rerender and that's where the performance benefit comes in. Is that the only pitfall then? When passing in an object and expecting rerenders to occur when manipulating the object? Or is there something else that I'm missing?
@xDELTAGIx
@xDELTAGIx 3 жыл бұрын
I agree, ill write a component or some method of doing something for one whole part say like a login part and then when I get to a register component for a website. I’ll figure some new way that is better than the old. Then convert the old code to the new and boom, faster better code Becuase I moved on to a new component
@MoonShadeStuff
@MoonShadeStuff 3 жыл бұрын
In the parallel universe where I would work in a team doing anything other than following every anti-pattern in the book, your advice might be helpful. As it stands, my company following every best practice would be a phenomenal improvement.
@KyleHarrisonRedacted
@KyleHarrisonRedacted 3 жыл бұрын
Everything about this video, is diamond tier advice. Otherwise known as a Best Practice.
@StormWolf01
@StormWolf01 3 жыл бұрын
Do you have references to that "art students making pots" story? Or is it some kind of invented anecdote created to make a point? I liked that story and the philosophy behind it, and it resonates with things i'm figuring out in my life at the moment. So, if it exists, i'd love a reference to that story/article/study/anecdote.
@travelingcoderman8892
@travelingcoderman8892 4 жыл бұрын
Completely agree on that. Always question WHY stuff is recommended to be done in a specific way and think for yourself if it would also be beneficial for your project. Best practices don't make any sense if they are just followed blindly without understanding the pros and cons of them.
@jameshansen801
@jameshansen801 3 жыл бұрын
I remember reading about that pottery story in Art & Fear by David Bayles & Ted Orland. It's a great book! You'd be surprised on how many similarities there are with the classical conceptual approaches towards painting and programming :)
@Gabifuertes
@Gabifuertes 3 жыл бұрын
This reminds me of my OOP teachers at uni. They're like "MVC ALL the things!", even if it's a web scraper or a to do list...
@DonaldFeury
@DonaldFeury 4 жыл бұрын
Maybe I like holding my ice cream cone upside down, don't judge me
@mage3690
@mage3690 3 жыл бұрын
See, now that I can understand. I can even understand eating it upsidedown because you want to suck everything out the bottom like a chupacabra and make horrible noises at the end. What I can't understand is you holding your ice cream cone upsidedown because someone told you it's a cleaner way to eat it.
@Hiatuz4
@Hiatuz4 4 жыл бұрын
This guy is awesome
@intelligize
@intelligize 2 жыл бұрын
"writing bad code is a prerequisite to writing good code" Great advice !
@DarkCrux
@DarkCrux 3 жыл бұрын
So research Design Patterns... and when to apply them?
@jacobmealey8784
@jacobmealey8784 3 жыл бұрын
this guy is so well spoken, honestly better then any programming self help book.
@neoesm
@neoesm 3 жыл бұрын
1:04 The face I make when I’m surfing the internet on incognito mode instead of coding
@zaturntarto3814
@zaturntarto3814 3 жыл бұрын
This video is like opening of my third eye
@deeproy7292
@deeproy7292 3 жыл бұрын
yeah that was very helpful
@alexbenishek6638
@alexbenishek6638 3 жыл бұрын
I agree with this. "Best Practices" is not an excuse for not thinking. I am working on an application where the previous Dec heard all about "best practices" and created seven layers of abstraction between the webpage and the database. But it is just a simple crud app used by less than a few thousand people internally. Meaning that each of the layers just calls the lower layer, adding nothing.
@aamirm5117
@aamirm5117 3 жыл бұрын
How many hours a week do you work as thought leader? What does a carrot farmer work, like 3-6 hours a season riding some cool heavy equipment to plant and then harvest his orange gold?
@thalesGog
@thalesGog 3 жыл бұрын
Best video ever
@thomasw.4298
@thomasw.4298 4 жыл бұрын
Good advice
@NobodySSBM
@NobodySSBM 3 жыл бұрын
I think a huge benefit to following best practices is providing uniform coding style in a collaborative project or building software in a company. New developers will be able to understand and contribute quicker if they are familiar with the practices.
@programmerrdai
@programmerrdai 4 жыл бұрын
Great Content....
@NithinJune
@NithinJune 3 жыл бұрын
Bro whoever made typescript needs to see this
@joaocoelho2929
@joaocoelho2929 4 жыл бұрын
As with everything, utilizing “best practices” requires good judgement. Does it make sense for your project? Use it. Does it not make sense? Don’t use it.
@MrCmon113
@MrCmon113 3 жыл бұрын
And if the project doesn't use blockchain and machine learning, don't even bother with that shit.
@moseskarunia
@moseskarunia 3 жыл бұрын
Unfortunately, good judgment is a luxury. Otherwise the world will be a much better place to live in
@shamilmammadov8246
@shamilmammadov8246 4 жыл бұрын
I tried all 3 most popular JS frameworks. All of them has their own pros and cons, but I liked them all.
@_ch1pset
@_ch1pset 4 жыл бұрын
One thing I didn't like at my web dev internship was being told my code didn't follow best practices, but then when I asked what I should do instead, there wasn't a coherent suggestion on what best practices were. I feel like workplaces should generally follow the same best practices internally so that when it comes time for code review, we all know what to expect and can easily read/debug another person's code.
@garagavia
@garagavia 3 жыл бұрын
My best practice is coding while I'm high. It's great! 🍁💨 EDIT: I love that the dude in the video (Ben I guess is his name) even went on to talk about pot at around 3:40
@margaiwangara2863
@margaiwangara2863 3 жыл бұрын
"writing bad code is a prerequisite to writing good code" definitely going on the sticky note on my monitor.
@brinthkr1533
@brinthkr1533 3 жыл бұрын
well said
@mariomerino9758
@mariomerino9758 4 жыл бұрын
preach!
@TheAmeer3881
@TheAmeer3881 3 жыл бұрын
Hey Ben, pure components address a major issue with react paradigm. That is when a state updates, a valid state change is any new object pointer. That is a valid state change consists of two objects being the exact same. That's one problem. There is another major problem that I will go into if you inquire. Pure components have an inherent cost of in the worst case, comparing large sets of object key values to determine equality. However in most cases we can know right away, if the number of keys differ at any of the object branches
@amandeep9930
@amandeep9930 3 жыл бұрын
That ice cream looked like something else
@nikitakrulikov
@nikitakrulikov 4 жыл бұрын
Hello, Ben Awad. Your vides is very awesome and help me and everyone very much. I have a question to ask you. Your vs keyboard shortcut key is very wonderful. Do you have any extension or custom short key? If you are using any extension, please help me to use that. I really want to type all code like you :) Thanks million.
@theguyfromsikkim5786
@theguyfromsikkim5786 4 жыл бұрын
Dude, our CTO whenever sees my code he always says use best practices,
@hassanharajly4895
@hassanharajly4895 4 жыл бұрын
Why is your cto looking at your code...
@jagggy_snake
@jagggy_snake 4 жыл бұрын
@Dave N boooiiiii
@shubham.1172
@shubham.1172 4 жыл бұрын
@@hassanharajly4895 must be a startup!
@theguyfromsikkim5786
@theguyfromsikkim5786 4 жыл бұрын
@@hassanharajly4895 he is tech lead also, and we are startup
@theguyfromsikkim5786
@theguyfromsikkim5786 4 жыл бұрын
@Dave N yeah i know and i appreciate that he is telling me to do in better way 🙌
FizzBuzz - You Suck at Coding [0]
12:35
Ben Awad
Рет қаралды 403 М.
Why I don't work for FAANG
8:26
Ben Awad
Рет қаралды 791 М.
Cat story: from hate to love! 😻 #cat #cute #kitten
00:40
Stocat
Рет қаралды 16 МЛН
3 Tips To Write Clean Code (from an ex-Google software engineer)
17:12
Clément Mihailescu
Рет қаралды 189 М.
10 Newbie Programming Mistakes
7:19
Ben Awad
Рет қаралды 320 М.
How I Plan My Coding Projects
11:48
ForrestKnight
Рет қаралды 330 М.
The Projects That Got Me Into Google (tips for software engineering projects)
17:46
How to Open Source Like a Pro
8:41
Ben Awad
Рет қаралды 542 М.
Don't Focus on Coding Learn Concepts Instead
9:29
Amigoscode
Рет қаралды 336 М.
Fired My Designer
7:47
Ben Awad
Рет қаралды 191 М.
7 Amazing Developer Tools that you're not using yet
6:27
Fireship
Рет қаралды 1,9 МЛН
How charged your battery?
0:14
V.A. show / Магика
Рет қаралды 3,6 МЛН
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 21 МЛН
Pratik Cat6 kablo soyma
0:15
Elektrik-Elektronik
Рет қаралды 8 МЛН
wireless switch without wires part 6
0:49
DailyTech
Рет қаралды 1,2 МЛН
Очень странные дела PS 4 Pro
1:00
ТЕХНОБЛОГ ГУБАРЕВ СЕРГЕЙ
Рет қаралды 416 М.
Теперь это его телефон
0:21
Хорошие Новости
Рет қаралды 2 МЛН