Clean code #7 - Error handling & Exceptions!

  Рет қаралды 915

100 GB

100 GB

Күн бұрын

Welcome to Episode 7 of the Clean Code series. In this episode, I will guide you through the crucial aspect of error handling in software development. Join me as we explore the best practices, strategies, and considerations for effectively managing errors in your codebase. Drawing inspiration from Robert C. Martin's book, "Clean Code," I provide valuable insights and practical examples.
Discover when to use exceptions over return codes and vice versa, and understand the benefits and limitations of each approach. We will discuss the importance of separating error handling from normal code flow, enhancing code readability, and facilitating easier debugging with stack traces.
Additionally, we will tackle the age-old problem of null references and explore the drawbacks they pose. Learn why returning null values and passing null to functions should be avoided, and discover modern practices and tools to enforce null safety in your code. A little cherry on the top will be a personal story that shows how critical Nullability is.
Join me in this enlightening episode of the Clean Code series as I empower you with the knowledge to prioritize clean error handling, leading to more robust and reliable software. Don't forget to like, subscribe, and share this video with your fellow developers who strive for code excellence. Let's elevate our coding practices together!
#cleancode #errorhandling #SoftwareDevelopment
-----------------------------------------------------------------------------------
Got questions? Reach out to me here:
Instagram: / hundred_gb
Telegram: t.me/hundred_gb
Linkedin: / gaurav-bhola
Twittter: / gauravbhola_in
--------------------------------------------------------------
My Setup details (In the US):
🖥 27 Monitor ($299) GIGABYTE M27Q 27" 170Hz with KVM switch: amzn.to/3oQEQGz
🦾Monitor arm - HUANUO Dual monitor arm: amzn.to/3OXlpq7
⌨️Keyboard: KINESIS GAMING Freestyle Edge RGB Split Mechanical Keyboard (MX Brown) ($199): amzn.to/3Soyv2q
📱 Phone - Pixel 5 128: amzn.to/3JvAXjH
🖥CPU case ($129) - SSUPD Meshlicious: www.ssupd.co/products/meshlic...
📸Camera - Sony a6600: amzn.to/3JrNLHZ
🔎Lens - Sigma 16mm 1.4: amzn.to/3oQi4i7
🎙️Mic - Boy BY-M1: amzn.to/3QbvJvS
--------------------------------------------------------------
Setup details:
Budget Table: amzn.to/3qe3Yql
Budget Electrical sit-stand (~₹34000): www.purpleark.in/products/sit...
🖥 27 Monitor (One I use) (~₹40000): amzn.to/2Phdpno
🖥 Best 27 Monitor(Budget) India: amzn.to/3gprICn
💻Old Laptop - Acer Nitro 7: amzn.to/3cWqfnj
📱 Phone - Pixel 5a 128: amzn.to/3qakGal
🍎Tablet - Chromebook duet: amzn.to/3vImlVM
🎧Earphones - Galaxy Buds+: amzn.to/3zCRc9p
🎙️Mic - Boya: amzn.to/2RqJCNW
On My Desk:
Cello carbon ballpen: amzn.to/3gMv8R1
Speed triple (₹350): amzn.to/2BXAE2U
Earphone pouch (₹299): amzn.to/2PxDY8d
Under table wire management-IKEA SIGNUM (₹1299): amzn.to/3i5X3Ky
Primary Keyboard: KINESIS GAMING Freestyle Edge RGB Split Mechanical Keyboard (MX Brown) ($199): amzn.to/3Soyv2q
Keyboard-2 : HyperX RGB Cherry MX Blue Elite (₹13000):
I bought this as a renewed one and costed me ₹8000.
Mouse: Logitech G402: amzn.to/2BXEAkc
MousePad (₹699): amzn.to/3fop2nk
6-axis Monitor Arms (Dual ₹6999) (Single ₹4999): amzn.to/3fq35ny
Monitor Arms (Budget) (Less flexibility) (₹2999): amzn.to/3fm9ArD
Dual vertical laptop Stand (₹2499) (₹2999 now): amzn.to/2Pj0AZE
Wire Management
Clips (₹249): amzn.to/3fqJzaO
Velcro cable straps (₹258): amzn.to/3fpQRvo
Tidy Up Wire Bin (₹599): amzn.to/33msKvi

Пікірлер: 16
@subhamcoder
@subhamcoder Жыл бұрын
Waiting for thisssssssssss as always 😊
@hitesh2293
@hitesh2293 Жыл бұрын
Great video Gaurav Sir 😃
@100GB
@100GB Жыл бұрын
Thanks & Please share with your batchmates and friends :)
@hitesh2293
@hitesh2293 Жыл бұрын
@@100GB I do everytime 😃
@mirapakaya
@mirapakaya Жыл бұрын
Gaurav, What is that editor you used? Internal one? btw, good one. Learning is always fun!
@user-lz1vo4dt5x
@user-lz1vo4dt5x Жыл бұрын
Bhaiya IIT tag bhi matter krta h kya ?
@parvejniaj8427
@parvejniaj8427 Жыл бұрын
🇧🇩❤️🇰🇼
@ArpitKumar-yo6up
@ArpitKumar-yo6up Жыл бұрын
I love 🇮🇳
@vishal.choudhury
@vishal.choudhury Жыл бұрын
Interesting story 😂 gaurav null
@100GB
@100GB Жыл бұрын
That day was amazing. I literally couldn't stop laughing for 30 mins straight. Thanks to that Airtel guy :)
@vishal.choudhury
@vishal.choudhury Жыл бұрын
@@100GB BTW I work for Airtel Payments bank. 🤣🤣
@100GB
@100GB Жыл бұрын
@@vishal.choudhury I hope they are in better shape now. R u using any null safe language already?
@vishal.choudhury
@vishal.choudhury Жыл бұрын
@@100GB yes quite a few I need to take care, I use python.
@Sanyu-Tumusiime
@Sanyu-Tumusiime Жыл бұрын
Good video, but you should stop this series. Your view count is low. I think we're fine.
@100GB
@100GB Жыл бұрын
Low view count: Yes. Stop this series: No! This series is something that I really enjoy creating. I would just love to complete it, at least. Only 4-5 episodes to go. So, Its more than just the no. of views. But hey that doesn't mean that I don't create any other kind of videos :P
@100GB
@100GB 8 ай бұрын
In hindsight, I believe maybe its better to create a new channel for the hard-core coding stuff.
Clean code #8  - Writing Tests the clean way!
19:36
100 GB
Рет қаралды 722
Challenges in Learning Android App Development!
12:46
100 GB
Рет қаралды 2,9 М.
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 97 МЛН
Was ist im Eis versteckt? 🧊 Coole Winter-Gadgets von Amazon
00:37
SMOL German
Рет қаралды 28 МЛН
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 150 МЛН
How I Would Learn To Code (If I Could Start Over)
13:43
Namanh Kapur
Рет қаралды 7 МЛН
Back to College After 10 Years!
9:56
100 GB
Рет қаралды 6 М.
Layoffs in Tech - 2024 | The worst case & How to survive!
18:19
Clean Code Is Killing Your Projects
9:20
Web Dev Simplified
Рет қаралды 143 М.
Don't throw exceptions in C#. Do this instead
18:13
Nick Chapsas
Рет қаралды 251 М.
My Ultimate Home Office Set Up as a SWE!
8:27
100 GB
Рет қаралды 3,8 М.
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 333 М.
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 97 МЛН