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.

КОМЕНТАРІ • 316

  • @TechLead
    @TechLead  5 місяців тому +17

    The first 500 people to use my link will get a 1 month free trial of Skillshare skl.sh/techlead01241

    • @GEMSofGOD_com
      @GEMSofGOD_com 5 місяців тому +1

      Follow ye the wisdom of Gogle & Magogle

    • @listcheck
      @listcheck 5 місяців тому

      mustache stroke emoji

    • @landons2k907
      @landons2k907 5 місяців тому

      hey im unemployed,. what type of job could get me in door? Im in boston

    • @389293912
      @389293912 5 місяців тому

      Because Google is known for its fancy, cool client UIs. ChatGPT is the ultimate declarative coding language 😅

    • @lasindunuwanga5292
      @lasindunuwanga5292 4 місяці тому +1

      this needs credit card. a red light to avoid

  • @Ayra_Is_Cool_lol
    @Ayra_Is_Cool_lol 5 місяців тому +410

    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

    • @ChadAV69
      @ChadAV69 5 місяців тому +11

      Coding is 100% dead, but that doesn't mean that some people don't do it for fun

    • @teemuperala3472
      @teemuperala3472 5 місяців тому +64

      @@ChadAV69 that statment is 100% false

    • @forthehomies7043
      @forthehomies7043 5 місяців тому

      My recurring paychecks beg to differ@@ChadAV69

    • @d0giem
      @d0giem 5 місяців тому

      Its dead for some , not all@@ChadAV69

    • @Triple_A-679
      @Triple_A-679 5 місяців тому

      ​@@teemuperala3472 we need them to believe that coding is dead. Stop trying to wake them up.

  • @HyperionStudiosDE
    @HyperionStudiosDE 5 місяців тому +44

    Bro, I already dropped coding to become a lumberjack after your last video. I need woodcutting tips now.

    • @douglasdotv
      @douglasdotv 5 місяців тому +4

      Teak trees west of Castle Wars until level 99

  • @wisdomelue
    @wisdomelue 5 місяців тому +62

    we need more videos like this tech lead, not “coding is dead”

    • @seya1994
      @seya1994 5 місяців тому +17

      no, we dont. Truth is painful but its better than beautiful lies

    • @GEMSofGOD_com
      @GEMSofGOD_com 5 місяців тому

      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

    • @bhill6923
      @bhill6923 5 місяців тому

      Says everyone who has work experience / job security.@@seya1994

    • @wisdomelue
      @wisdomelue 5 місяців тому

      @@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?😂

    • @seya1994
      @seya1994 5 місяців тому +1

      @@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

  • @jmpersic
    @jmpersic 5 місяців тому +73

    Great vid. "Don't take initiative if it's a stupid initiative". The ever-quotable tech lead.

    • @TechLead
      @TechLead  5 місяців тому +23

      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.

    • @jmpersic
      @jmpersic 5 місяців тому +2

      @@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.

    • @maxron6514
      @maxron6514 5 місяців тому +1

      @@jmpersic solo coding 4 life 🖖

    • @jmpersic
      @jmpersic 5 місяців тому +2

      ⁠It's good to be king

    • @albin6126
      @albin6126 5 місяців тому +1

      Coding is just bs many people have many approaches but there is no right approach

  • @cemtekesin9033
    @cemtekesin9033 5 місяців тому +49

    We expect more of these videos from you please. Great wisdom.

  • @stefanlindner4615
    @stefanlindner4615 5 місяців тому +135

    I thought coding is dead 🤔

    • @peaklander1
      @peaklander1 5 місяців тому +25

      He's the tech lead (the tech lead) (millionaire btw)

    • @aaronmoroney2066
      @aaronmoroney2066 5 місяців тому +8

      It’s probably click bait 🤔

    • @peaklander1
      @peaklander1 5 місяців тому +13

      @@aaronmoroney2066 do not question the tech lead

    • @nevadawolf3040
      @nevadawolf3040 5 місяців тому +3

      Coding is temporary. The future belongs to AI.

    • @jora5483
      @jora5483 5 місяців тому

      @@nevadawolf3040 Then humans will be dead.

  • @rbalsdldiify
    @rbalsdldiify 5 місяців тому +11

    These kinds of contents are the reason why I subscribed to this channel in the first place. I really appreciate you TechLead.

    • @last-life
      @last-life 4 місяці тому

      This type of content*

  • @KalebSDay
    @KalebSDay 5 місяців тому +7

    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.

  • @Farid-Khan
    @Farid-Khan 5 місяців тому +2

    Great !! finally back with coding videos continue it's great to see u talk on this topics

  • @bin4ry_d3struct0r
    @bin4ry_d3struct0r 5 місяців тому +5

    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.

  • @AimlesslyMusical
    @AimlesslyMusical 5 місяців тому +7

    "Let's build some happy little tree data structures"
    - Bob Ross if he was a tech lead

    • @andreys7729
      @andreys7729 5 місяців тому +2

      "Let's invert a list here, invert a list there. It is your world, your imagination"

  • @user-di4bt7qu2i
    @user-di4bt7qu2i 5 місяців тому +3

    Wow, these are some excellent coding tips. Thanks for posting!

  • @MelodiesAndRhythms
    @MelodiesAndRhythms 5 місяців тому +3

    Thanks Tech Lead, I got the one of the skillshares!

  • @limbo3545
    @limbo3545 5 місяців тому +1

    Just the right timing to remind me a week before I start my new job.

  • @lukealadeen7836
    @lukealadeen7836 4 місяці тому +1

    I enjoy your more philosophical videos but this is why I subscribed. Lets GO!

  • @drawmaster77
    @drawmaster77 5 місяців тому +17

    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.

  • @BartKus
    @BartKus 5 місяців тому +5

    Those are some SOLID principles, sir.

  • @stachowi
    @stachowi 5 місяців тому +3

    This was great "old school" teach lead content.... nice to mix this in sometimes.

  • @fateriddle14
    @fateriddle14 5 місяців тому +1

    Thanks, this type of useful content is really back.

  • @missyelaine
    @missyelaine 5 місяців тому +1

    Thanks. This video was refreshing

  • @SuperRnine
    @SuperRnine 5 місяців тому +2

    This guy is giving me whiplash

  • @cybersphere
    @cybersphere 5 місяців тому +3

    Yesterday: Coding is dead. Why I am not a coder.
    Today: 7 Top FAANG coding tips

  • @horoshuhin
    @horoshuhin 2 місяці тому +1

    great delivery btw. any soft skills tips from a techlead and an employee perspective?

  • @saraf2417
    @saraf2417 5 місяців тому +1

    Great tips! Thanks

  • @abrasionthermals9172
    @abrasionthermals9172 5 місяців тому +3

    Hope to meet this legend one day! 😃🙌

  • @mjm1986bk
    @mjm1986bk 5 місяців тому +1

    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.

  • @cathrynm
    @cathrynm 5 місяців тому +1

    Total agree on the 'never refactor.' It is a total junior move to want to refactor everything.

  • @RossRyles
    @RossRyles 5 місяців тому +1

    Useful advice, with just a pinch of sarcasm? Perfection!

  • @ddddsdsdsd
    @ddddsdsdsd 5 місяців тому +1

    Love it!❤️

  • @themonkeyman2790
    @themonkeyman2790 5 місяців тому +7

    previous video coding software engineering is dead, next video best coding tips

  • @ivandavidalmadaperez4963
    @ivandavidalmadaperez4963 5 місяців тому +2

    First actually useful video for programmers from TL

  • @wheeldogg
    @wheeldogg 5 місяців тому +1

    Thanks Techlead excellent tips

  • @Gold-pl9en
    @Gold-pl9en 5 місяців тому +6

    Regarding documentation, it's down to the tech lead to ensure documentation is kept up-to-date (current tech lead/eng manager)

    • @TechLead
      @TechLead  5 місяців тому +8

      I would just delete the documentation. If your code is too hard to use, it just won't be used.

    • @javier.alvarez764
      @javier.alvarez764 5 місяців тому +1

      This seems stupid. Documentation is done by the whole team.

    • @Gold-pl9en
      @Gold-pl9en 5 місяців тому

      @@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) :)

    • @andreys7729
      @andreys7729 5 місяців тому

      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.

  • @tolotrarabefaly1333
    @tolotrarabefaly1333 5 місяців тому +2

    You're the best comedian out there 🤣

  • @menilev
    @menilev 5 місяців тому +4

    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

    • @jesustarsia6994
      @jesustarsia6994 5 місяців тому +1

      Wow... a really long code could be self explainatory? Come on man.. give me an effin // and stop listening to this fake programmer

  • @Gold-pl9en
    @Gold-pl9en 5 місяців тому +4

    You only offended junior engineers once in this video. 😆

  • @NoTech25
    @NoTech25 5 місяців тому +1

    6.06am - Just finished watching an inspirational youtube video.

  • @maveasna2096
    @maveasna2096 5 місяців тому +19

    We need this man back in our code community; he explained things well enough.
    😀😃

  • @kevin26exe
    @kevin26exe 5 місяців тому

    Thank you very much for this! :)

  • @Tbjbu2
    @Tbjbu2 5 місяців тому +3

    yes, coding is dead, I miss the vlogs

    • @Tranquilflame
      @Tranquilflame 5 місяців тому +1

      We do want More vlogs not this boring blah I think hew doing it purposely

  • @BUY_YOUTUBE_VIEWS_d133
    @BUY_YOUTUBE_VIEWS_d133 5 місяців тому

    I watched this with my morning coffee, and now my day is perfect.

  • @DASHIZZAL
    @DASHIZZAL 5 місяців тому +1

    The tech lead doing tech lead stuff... Nice

  • @389293912
    @389293912 5 місяців тому +1

    Regex on coding patterns? Ingenious idea.

  • @yishstudio8393
    @yishstudio8393 5 місяців тому +1

    Totally agree, you are the legend.

  • @JegErN0rsk
    @JegErN0rsk 5 місяців тому +1

    great video! More of this. Less of the fearmongering

  • @ilearncode7365
    @ilearncode7365 5 місяців тому +1

    Do a video on what the best keyboard is to become a FAANG tech lead

  • @BobGoldfield
    @BobGoldfield 5 місяців тому +9

    I know you think coding is dead but you should make more software engineering videos.

    • @TechLead
      @TechLead  5 місяців тому +26

      Tell that to the Algorithm. I just do what it tells me to do.

    • @I_Lemaire
      @I_Lemaire 5 місяців тому

      @@TechLead We support you, TechLead.

    • @Skipolo
      @Skipolo 5 місяців тому +1

      @@TechLead but you drive the algorithm, not the other way around

    • @Tranquilflame
      @Tranquilflame 5 місяців тому +1

      Please dont its boring your other stuff is more entertaining and more logical than code ​@TechLead

  • @SandraWantsCoke
    @SandraWantsCoke 5 місяців тому +3

    :O Coding lessons from Tech Lead himself!

  • @Rocketbunny180sx
    @Rocketbunny180sx 5 місяців тому

    Any thoughts on game development as an intermediate path? It falls under Digital Media, but still requires (some) coding.

  • @Denzelzeldi
    @Denzelzeldi 5 місяців тому +1

    TechLead finally coming back to his senses? 🤓

  • @brahmazengi55
    @brahmazengi55 5 місяців тому

    yes i still want to code, contraire to your suggestions in the previous videos. So... thank you!

  • @UncleFreedom777
    @UncleFreedom777 5 місяців тому +1

    Great Video

  • @GoogleAccount-wy2hc
    @GoogleAccount-wy2hc 5 місяців тому

    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.

  • @dav.7557
    @dav.7557 5 місяців тому +1

    man he is good no lie

  • @piff57paff
    @piff57paff 5 місяців тому

    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.

  • @TRoss-ru6sg
    @TRoss-ru6sg 5 місяців тому +1

    Where can i learn more about the Regex testing framework for ensuring good coding patterns? (Like not mixing business and presentation logic?)

    • @TechLead
      @TechLead  5 місяців тому +2

      Look up regex linters. SwiftLint looks close to what we used it FAANG, not sure if there's other frameworks.

    • @occo5877
      @occo5877 5 місяців тому

      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

    • @TechLead
      @TechLead  5 місяців тому

      @@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..

  • @Namcode177
    @Namcode177 5 місяців тому +2

    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😮.

    • @brandonmunda346
      @brandonmunda346 5 місяців тому

      Which country in east Africa???

    • @Namcode177
      @Namcode177 5 місяців тому

      @@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.

  • @QuantumKurator
    @QuantumKurator 5 місяців тому

    Care to bring CI/CD into this topic?

  • @AnthonyMarchenko
    @AnthonyMarchenko 5 місяців тому

    sir, where is the keyboard from the previous video?

  • @micbab-vg2mu
    @micbab-vg2mu 4 місяці тому

    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.

  • @seya1994
    @seya1994 5 місяців тому +1

    Great one, thanks bye

  • @jasonisjasondoes
    @jasonisjasondoes 5 місяців тому +1

    Good tips.

  • @rlifts
    @rlifts 5 місяців тому +3

    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.

  • @unknowndata3841
    @unknowndata3841 5 місяців тому +1

    You looked happier in those photos

  • @BlackHermit
    @BlackHermit 5 місяців тому +6

    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.

  • @n8ged8
    @n8ged8 5 місяців тому

    What about Design Patterns in Coding? I have a master degree (Geoinformatics) but those were not taught. I think they are relevant.

  • @landons2k907
    @landons2k907 5 місяців тому

    hey im unemployed, what type of job could get me in door and experience what the field is like? ? Im in boston

  • @svintheanajones88
    @svintheanajones88 5 місяців тому +1

    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.

  • @RealismHD1
    @RealismHD1 5 місяців тому +3

    "deleting 300k lines in a single commit" - bro xd

  • @chris_ea
    @chris_ea 5 місяців тому

    Thanks

  • @seniorsergeanttomcroydon6401
    @seniorsergeanttomcroydon6401 5 місяців тому

    How's million token going? Should I wait til it hits $1 dollar before buying?

  • @gislo
    @gislo 5 місяців тому +1

    good developers also UNDERSTANDS their application.

  • @e00d20
    @e00d20 5 місяців тому

    thnx 4 keeping it pozt

  • @eyaswoo1483
    @eyaswoo1483 5 місяців тому +2

    What happened??? TechLead talks about Tech again?

  • @jlai383
    @jlai383 5 місяців тому +1

    like this!

  • @JohnSmith-bm6zg
    @JohnSmith-bm6zg 5 місяців тому +4

    So in conclusion, just delete everything.

  • @petersouthwell5971
    @petersouthwell5971 5 місяців тому +3

    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.

  • @Jimi-bx3xf
    @Jimi-bx3xf 5 місяців тому

    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...

  • @catrinacraft
    @catrinacraft 5 місяців тому

    Do you know anything about ML Lead or ML Engineer?

  • @vzuzukin
    @vzuzukin 5 місяців тому +1

    7 coding tips for Magnificent 7 🏆

  • @ronaldomaia
    @ronaldomaia 5 місяців тому +1

    One day you say , dont code, now you give tips about coding. Lol😂😂😂

  • @standaterziev5511
    @standaterziev5511 5 місяців тому +1

    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

  • @fourmidu17
    @fourmidu17 5 місяців тому +1

    What a serious video

  • @clapcell
    @clapcell 5 місяців тому +2

    "any fool, any junior enginneer" lolol

  • @emirhan4029
    @emirhan4029 5 місяців тому

    make their move and history repeats itself as it usually does

  • @Almormd
    @Almormd 5 місяців тому

    Tech interview pro link in the end is dead

  • @simple_neko
    @simple_neko 5 місяців тому

    thanks

  • @weishi5286
    @weishi5286 5 місяців тому +1

    After I watch this video, YT auto play ▶️ recommended me to watch his "coding is dead" video 😂

  • @DAVIS__
    @DAVIS__ 5 місяців тому +1

    Impressive

  • @michaelraasch5496
    @michaelraasch5496 5 місяців тому +4

    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.

    • @trappedcat3615
      @trappedcat3615 5 місяців тому +1

      Also, if there is a test, it can both audit and document expectations.

  • @lukkash
    @lukkash 5 місяців тому +1

    EX-META ✨oh, great that you are clear now😂

  • @BrayanMartinez-wp9vh
    @BrayanMartinez-wp9vh 5 місяців тому

    Does anyone know which programming languages he knows?

  • @Lonelytree25
    @Lonelytree25 5 місяців тому +2

    7 Top (millionaire) FAANG coding tips (as a millionaire)

  • @JazevoAudiosurf
    @JazevoAudiosurf 5 місяців тому +1

    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 :)

  • @parikxit
    @parikxit 5 місяців тому

    sorry, where were you Tech-Lead at?

  • @nik.nenkov
    @nik.nenkov 5 місяців тому

    Im sure EPAM Systems had the same practices in their EngX program

  • @mirzakadic9174
    @mirzakadic9174 5 місяців тому +1

    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.

  • @dave_di
    @dave_di 5 місяців тому +1

    TechLead helping me be a modern day wage slave just to afford a one bedroom apartment in a major city. .

  • @cosmic_snot
    @cosmic_snot 5 місяців тому

    Everything Ex. Tells you something.