Why You Shouldn't Nest Your Code

Why You Shouldn't Nest Your Code

Mentoring πŸ‘‰ https://rebeloper.com/mentoring

In this video, I'm sharing why you should avoid nesting your code, and why you should instead use the completion handler and the swift closure syntax. Not nesting your code can save you a lot of time and hassle down the road. By using the closure syntax and the completion handler, you'll be able to more easily manage your code and keep your code clean and organized. So don't miss this video, and learn why you should avoid nesting your code!

This Swift Async Await Trick is INSANE | SwiftUI Swift Concurrency

CHAPTERS:

00:00 INTRO

00:25 WHAT IS CODE NESTING

01:00 MENTORING

01:38 WRITING CODE WITH IF ELSE AND COMPLETIONS

08:36 EXTRACTING CODE

10:58 GUARD STATEMENTS IN SWIFT

15:17 FROM COMPLETION TO ASYNC THROWS

17:05 GUARD STATEMENTS WITH ASYNC THROWS

20:02 WHERE TO GO FROM HERE

Don’t forget to download the resources: β†’ here

VIDEOS I RECOMMEND

Build a Chatbot on iOS with SwiftUI and ChatGPT πŸ€”

Will AI Replace Programmers

What's New In Xcode 14.3: You Won't Believe What's Changed!

Unlock the Power of Core Data Versioning!

BEST WAY to Read and Understand Code

DO YOU WANT TO BE MY APPRENTICE? HIRE ME

Say Hi on social:

Github: https://github.com/rebeloper/

Hire me: https://rebeloper.com/hire-us/

LinkedIn: https://www.linkedin.com/in/rebeloper/

Follow me on Instagram: https://www.instagram.com/rebeloper/