Best practices for error catching and handling

Опубликовано: 19 Ноябрь 2021
на канале: Programming Duck
1,064
30

There are many things you need to get right with error catching and handling if you want robust programs. In this video, we examine some of the most important things that you need to be aware of.

This video is part of many error handling videos on this channel. It's a big topic with many videos covering it.

Chapters:
0:00 Intro
0:56 Be very thorough with your error checking
1:50 Check for errors first
3:00 Handle errors at the first appropriate place
6:23 (For exceptions) Small try blocks
11:41 Restore state and resources
17:21 Summary
17:41 Outro

Video links:
Article version of this video: https://programmingduck.com/articles/...
Slides: https://docs.google.com/presentation/...

Channel links:
Programming Duck website: https://programmingduck.com
Facebook:   / programming-duck-100207231868555  
Instagram:   / programmingduck  

Resources used in video:
Music:
Music provided by HearWeGo (https://goo.gl/nDS3zR​)
Artist: MARION
Title: High Hopes
Listen on YouTube:    • MARION - High Hopes  ​

Quack sound effect from Quick Sounds: https://quicksounds.com/sound/6616/qu...

Intro screen: https://trendslogo.com/after-effects-...
Subscribe button template - https://trendslogo.com/youtube-subscr...
Outro screen: https://trendslogo.com/outro-template...

#programmingduck #programming #coding