7 Top FAANG Coding Tips, Best Practices (ex-Google, ex-Meta)
Вставка
- Опубліковано 11 чер 2024
- Ex-Google TechLead on FAANG coding tips. The first 500 people to use my link will get a 1 month free trial of Skillshare skl.sh/techlead01241
Ace your coding interviews with ex-Google/ex-Facebook training. techinterviewpro.com/
0:00 Intro
1:57 1. Never comment code
3:51 2. Design leads code
5:11 3. Server driven design
6:48 4. Declarative languages
7:32 5. Consistency
8:56 6. Never refactor
9:37 7. Regex Linters
10:31 Bonus tip
Ace your coding interviews with ex-Google/ex-Facebook training. techinterviewpro.com/
💻 Get access to 100+ programming interview problems explained: coderpro.com/
📷 Learn how to build your own successful business on UA-cam: youtubebackstage.com/
💻 I’ll send you FREE daily coding interview questions to practice your skills: dailyinterviewpro.com/
🛒 My computer and camera gear: www.amazon.com/shop/techlead/...
💵 Merch! The ultra-thin TechLead wallet: amzn.to/42UyYOb
⌨️ My favorite keyboards: iqunix.store/techlead
Follow me on social media:
/ techleadhd
x.com/techleadhd
Disclaimer: This description may contain affiliate links.
The first 500 people to use my link will get a 1 month free trial of Skillshare skl.sh/techlead01241
Follow ye the wisdom of Gogle & Magogle
mustache stroke emoji
hey im unemployed,. what type of job could get me in door? Im in boston
Because Google is known for its fancy, cool client UIs. ChatGPT is the ultimate declarative coding language 😅
this needs credit card. a red light to avoid
This man will tell you coding is for losers one day, and share coding best practices another. He's the kind of arms dealer who sells weapons to both sides. Truly a marketing genius
Coding is 100% dead, but that doesn't mean that some people don't do it for fun
@@ChadAV69 that statment is 100% false
My recurring paychecks beg to differ@@ChadAV69
Its dead for some , not all@@ChadAV69
@@teemuperala3472 we need them to believe that coding is dead. Stop trying to wake them up.
Bro, I already dropped coding to become a lumberjack after your last video. I need woodcutting tips now.
Teak trees west of Castle Wars until level 99
we need more videos like this tech lead, not “coding is dead”
no, we dont. Truth is painful but its better than beautiful lies
In a sense, human intelligence is more artificial than AI. Staying human, seeking for primes of humanity, glowing trust and empathy are top qualities now
Says everyone who has work experience / job security.@@seya1994
@@seya1994 durhhh? , we know some of what he says is true, but while we are in it already, it’s okay to get good advice on how to get better, or you think we gonna “not getting into it” because AInis taking over?😂
@@wisdomelue i don't think software engineering is something worth hours of learning and it's better to try other solutions as techlead says. It's also truth people are getting bitter because of life wasted in nerdish life while other people were having fun and you expecting to have fun later in life. I think it's better to go other way
Great vid. "Don't take initiative if it's a stupid initiative". The ever-quotable tech lead.
The worst initiative is a small refactor wrapper class.
function add (a, b) {return a + b;}
It's very hard to block this kind of code. The junior engineer can claim "impact" for shipping their "add" framework, which is then open sourced. But it's just more "new ways" of doing things that everyone has to learn.
@@TechLead Well that's a wild look into Fang life. I'm a solo dev working on enterprise apps, always fun to see the other side.
@@jmpersic solo coding 4 life 🖖
It's good to be king
Coding is just bs many people have many approaches but there is no right approach
We expect more of these videos from you please. Great wisdom.
I thought coding is dead 🤔
He's the tech lead (the tech lead) (millionaire btw)
It’s probably click bait 🤔
@@aaronmoroney2066 do not question the tech lead
Coding is temporary. The future belongs to AI.
@@nevadawolf3040 Then humans will be dead.
These kinds of contents are the reason why I subscribed to this channel in the first place. I really appreciate you TechLead.
This type of content*
Nice seeing this side of you again TechLead, wishing you a Happy New Year! Appreciate the insight/tips to keep in mind. The don't refractor one just to make it look pretty is a really good one that I might not have considered as heavily before hearing it from you.
Great !! finally back with coding videos continue it's great to see u talk on this topics
When he said to not comment your code, I first thought this was another TechLead troll video, but his explanation actually makes a lot of sense.
"Let's build some happy little tree data structures"
- Bob Ross if he was a tech lead
"Let's invert a list here, invert a list there. It is your world, your imagination"
Wow, these are some excellent coding tips. Thanks for posting!
Thanks Tech Lead, I got the one of the skillshares!
Just the right timing to remind me a week before I start my new job.
I enjoy your more philosophical videos but this is why I subscribed. Lets GO!
comments in code can be useful. It really depends what code it is. If you are writing an API, a good practice is to add comment to each public function to explain what it does, what are the return types and parameters. Also goes for situational math or logic code, it's often difficult to tell what it's trying to do without explanation. You have to think from the perspective of a new engineer unfamiliar with your code - will they be able to understand what's going on here? If not can you simplify it? If not, add comments.
Also refactoring is sometimes necessary. You are not going to write perfect code from the get go. Sometimes extending and adding new features requires the code to be refactored. Trick is to know when and how much to do it.
Those are some SOLID principles, sir.
This was great "old school" teach lead content.... nice to mix this in sometimes.
Thanks, this type of useful content is really back.
Thanks. This video was refreshing
This guy is giving me whiplash
Yesterday: Coding is dead. Why I am not a coder.
Today: 7 Top FAANG coding tips
great delivery btw. any soft skills tips from a techlead and an employee perspective?
Great tips! Thanks
Hope to meet this legend one day! 😃🙌
Thank you so much for a POSITIVE code video. I will be applying this at work tomorrow. I don't even watch your negative, trolling, comment-seeking videos.
Total agree on the 'never refactor.' It is a total junior move to want to refactor everything.
Useful advice, with just a pinch of sarcasm? Perfection!
Love it!❤️
previous video coding software engineering is dead, next video best coding tips
First actually useful video for programmers from TL
Thanks Techlead excellent tips
Regarding documentation, it's down to the tech lead to ensure documentation is kept up-to-date (current tech lead/eng manager)
I would just delete the documentation. If your code is too hard to use, it just won't be used.
This seems stupid. Documentation is done by the whole team.
@@javier.alvarez764 The tech lead should ensure it happens. They should be ultimately responsible for guiding/leading the engineers. (ex engineer, ex tech lead, current eng manager) :)
Documentation is for non-programmers. If a programmer or a tech-lead or a team-lead or a lord-manager demands low-level documentation from you it only means that he doesn't bother to read your code.
You're the best comedian out there 🤣
I almost never write comments only when there is an unexpected functionality or when references to functions needed. Code should be written so it's self-explanatory in my opinion
Wow... a really long code could be self explainatory? Come on man.. give me an effin // and stop listening to this fake programmer
You only offended junior engineers once in this video. 😆
6.06am - Just finished watching an inspirational youtube video.
We need this man back in our code community; he explained things well enough.
😀😃
Thank you very much for this! :)
yes, coding is dead, I miss the vlogs
We do want More vlogs not this boring blah I think hew doing it purposely
I watched this with my morning coffee, and now my day is perfect.
The tech lead doing tech lead stuff... Nice
Regex on coding patterns? Ingenious idea.
Totally agree, you are the legend.
great video! More of this. Less of the fearmongering
Do a video on what the best keyboard is to become a FAANG tech lead
I know you think coding is dead but you should make more software engineering videos.
Tell that to the Algorithm. I just do what it tells me to do.
@@TechLead We support you, TechLead.
@@TechLead but you drive the algorithm, not the other way around
Please dont its boring your other stuff is more entertaining and more logical than code @TechLead
:O Coding lessons from Tech Lead himself!
Any thoughts on game development as an intermediate path? It falls under Digital Media, but still requires (some) coding.
TechLead finally coming back to his senses? 🤓
yes i still want to code, contraire to your suggestions in the previous videos. So... thank you!
Great Video
There’s a book called code perfect where it says that max number of lines of code should be 5, though I think it can be more as long as it’s easy to understand what’s going on in 1 minute. So if you name your functions properly, it could be an easy to follow story.
man he is good no lie
I agree with almost everything mentioned, except "never refactor". Code structure is often a result of requirements and assumptions. Both can and will change over time, if the product is existing long enough and is evolving. This leads to your code base reflecting an outdated view of reality that can manifest itself in weird or inefficient call patterns or structure that doesn't fit anymore. In that case refactoring should be done, to reduce cognitive load. It shouldn't be risky, if you are using the tools the IDE provides, and anyway you should have good test coverage, that would uncover issues.
Where can i learn more about the Regex testing framework for ensuring good coding patterns? (Like not mixing business and presentation logic?)
Look up regex linters. SwiftLint looks close to what we used it FAANG, not sure if there's other frameworks.
I understand for style, but how will a regard help with presentation vs logic eg imports ? Please tech lead more videos for coding, teach us for once
@@occo5877 one way is to regex test for "Controller" in any View file... Assuming properly named files, that blocks any view from referencing controller logic directly. It then needs to send messages upstream using callbacks, delegates, actions, state, etc..
I hear people say cloud has taken over storage capabilities (backup) but in some places over here [East Africa] that doesn't render flash discs useless. Same applies to programming, unless the world becomes dominated by computer systems that don't need software anymore😮.
Which country in east Africa???
@@brandonmunda346 take for instance Uganda, where I stay currently as a South Sudanese refugee. Technologies which are deemed deprecated still serve their purposes. Anyway the world doesn't move synchronously.
Care to bring CI/CD into this topic?
sir, where is the keyboard from the previous video?
Thank you great tips, my strategy is to learn programing enough to be able to ask questions to LMMs to write code for me :) - it works with simple projects.
Great one, thanks bye
Good tips.
A video about best coding practices but yet in some videos he mentioned that software engineers are going to be obsolete. Discouraging people from become software engineers.
You looked happier in those photos
I am one of the world's best programmers, second only to the TechLead.
My code is clean. Its structure elegant.
To code with me is to code with programming itself.
I am a programmer and I am happy.
Comments are overrated, and nobody reads them, anyway. Use your "comment sense".
When I design the software of giants, I drink nothing. Not coffee. Not water. Nothing.
I work with other people, but I am a better programmer.
Happiness is among my greatest assets.
The flow of data is smooth. My code is easy to debug. Not that I ever have any bugs, of course.
What about Design Patterns in Coding? I have a master degree (Geoinformatics) but those were not taught. I think they are relevant.
hey im unemployed, what type of job could get me in door and experience what the field is like? ? Im in boston
I only comment my code with TODOs. It's helpful to know what you need to do, and potentially where it should go. I rarely add other types of comments. In the 90s I did comment my code because all of my variables were nondescriptive. That was the style back then and all of those lines of code should be deleted.
"deleting 300k lines in a single commit" - bro xd
Thanks
How's million token going? Should I wait til it hits $1 dollar before buying?
good developers also UNDERSTANDS their application.
thnx 4 keeping it pozt
What happened??? TechLead talks about Tech again?
like this!
So in conclusion, just delete everything.
Ive been a 29 year for the entire history of the internet sense it's existed as a technology admittedly mediocre full stack developer qualifying me as an "expert" haha...
Hey good tips actually. I gave a sigh when I heard the topic. I was like here it goes... Eh.. Not bad. Your tips are correct. Agreed.
since your video on the matrix and society, I've subscribed. I'd like you to expand on the subject, it was very interesting, maybe on politics in the USA, I'd like to understand this country better...
Do you know anything about ML Lead or ML Engineer?
7 coding tips for Magnificent 7 🏆
One day you say , dont code, now you give tips about coding. Lol😂😂😂
Not only has this genius worked for couple of months in Google, he is a millionaire. As a millionare, he gives you this very vAlUaBle advice. Better listen dear coders. tHiS iS TecHLeAd himself. Glorious
What a serious video
"any fool, any junior enginneer" lolol
make their move and history repeats itself as it usually does
Tech interview pro link in the end is dead
thanks
After I watch this video, YT auto play ▶️ recommended me to watch his "coding is dead" video 😂
Impressive
About #1: everyone can read code and you don't need to explain what it does. Explain why you do it and why in this way.
Also, if there is a test, it can both audit and document expectations.
EX-META ✨oh, great that you are clear now😂
Does anyone know which programming languages he knows?
7 Top (millionaire) FAANG coding tips (as a millionaire)
funny because at my company, we don't find time to do anything. so the monstrous mess just grows and grows :) i love my job :)
sorry, where were you Tech-Lead at?
Im sure EPAM Systems had the same practices in their EngX program
Yea, make more videos like this. Honestly I stopped watching your channel, and I'm willing to start again if you plan making videos like this.
TechLead helping me be a modern day wage slave just to afford a one bedroom apartment in a major city. .
Everything Ex. Tells you something.