Why your code sucks

preview_player
Показать описание
Sunday Standup Episode 1 is about code smells and how they can make your code suck!

📚 Recommended reading:

🏷 DISCOUNT CODES

15% off Leetcode Premium Annual Subscription for Technical Interview Preparation

📺 MY TECH INTERVIEW PREP VIDEO SERIES

🏪 AMAZON STOREFRONT
All my recommendations for books, gadgets and gear are also available at my
Amazon storefront. Check it out!

👕 LIKE THE "GOOD COFFEE, GREAT CODE" HOODIE?

📧 REACH OUT TO ME ON SOCIAL MEDIA

⏱ TIMESTAMPS
00:00 Intro
00:24 What is a code smell?
00:49 The God Class
01:27 Never ending parameter list
01:53 Unnecessary commenting
02:21 Magic numbers
03:01 Switch statements from hell

‼️ DISCLAIMERS

Links included in this description may be affiliate links. When you buy a product or service with these links, I may receive a small commission. However, there is no additional cost to you :) I genuinely appreciate you supporting my channel so I can continue to provide you with awesome software engineering content for free!

Also, all opinions are my own and not my employer's.
#engineeringwithutsav #softwareengineeringwithutsav #softwareengineering
Рекомендации по теме
Комментарии
Автор

Haha 😂 you used the F word finally 😂😂😂

williamkwabla
Автор

This is going to be a great series! After reading Clean Code, I really appreciate these points

Daniel.Rosenthal
Автор

I have done construction and help desk for awhile and see these same problems crop up.

Whether you're looking for a malfunction in a system or creating one, you want to remove ambiguity. The easier it is for someone to say "nope, not this thing" with confidence, the easier it is to quickly isolate problems.

It's why I like commenting on the inputs and outputs of a method when first building it. Why I like giving a variable an overly descriptive name ( that can be simplified later ), and why I like shallow shelving that prevents items from hiding behind another; ambiguity sucks.

williamseipp
Автор

You know how frustrating it is to be really good at this stuff as a junior developer and get leetcode questions and then not get the job because you couldn’t invert a binary tree.

amerdelic
Автор

Your video has answered my questions. Thank you very much for sharing this method that works for all platforms.

teekond
Автор

I would love more content regarding refactoring. Clean Code already on my desk :)

Archartugan
Автор

AWESOME Utsav, can't wait for more videos!

tofuify
Автор

This is an awesome concept. Short and potent.

jamesh
Автор

It’s going to be great series.It’s a good practice to use constant with all capital letters to covey message rather than hard coding.

sadaqatsandhu
Автор

Really great and valuable content as always! I enjoy all your videos Utsav! ;)

gyulapetrovics
Автор

The Magic Number one was just too good 😂😂

abhaykamath
Автор

Great advice Utsav! I totally agree about comments… well written code shouldn’t need them but when I do use them it’s for a very specific reason. One area I will use them more is when I’m working with code that isn’t written well and I’ve spent a week trying to understand… I’ll put comments into the code so 1) it’ll keep me from wasting another week and 2) reduce the pain of any future devs who will have to deal it. The truth is developers will deal with a lot of existing code so if you can make your life easier then do it…. Just don’t start refactoring everything or you’ll bring production down! 🤣

cyclox
Автор

This was great. A good kick in the ass to get your code in order. More please!

devinutt
Автор

Yoooo
Sunday Standup is actually such a good name.

MegaUncleDrew
Автор

I use this thing called sonarqube that scan my code for code smells.
the main error it is raising after scanning the code is that I'm exceeding the condition limits or statement

it's more annoying than anything else, do you guys also use it ?

bananesalee
Автор

Awesome idea for a series. Magic numbers! Your reaction was hilarious! So true.

JeepLifeChris
Автор

it's going to be an awesome series, loved the first video

pavbyte
Автор

I am a beginner, and I know it's so presumptuous for me to ask this. May I know how I can make a standard configuration file with the same purpose as the explanation in the Magic Numbers section? Thank you very much!

renztegrado
Автор

Hey Utsav,

Do you still work at Microsoft?

ify
Автор

Single responsibility principle is the most common one that everyone violates 😀

mainendra