filmov
tv
Exceptions are evil. This is what I do instead.

Показать описание
In today's video we'll talk about why exceptions are evil and why you should probably stop throwing exceptions for flow control.
Not throwing exceptions will make your code faster, simpler, faster to debug, and easier to maintain.
We'll also see the alternative flow control approach which is the result pattern. The result pattern will be demonstrated using ErrorOr, and we'll see how the ErrorOr library can be used to elegantly return errors instead of throwing exceptions.
Connect with me on 'em socials:
Thanks for watching, don't forget to like & comment & subscribe! ❤️ 💻
00:00. Intro
01:17. Exceptions suck #1 - Messy
03:45. Exceptions suck #2 - Complex
08:40. Exceptions suck #3 - Heavy
09:46. Exceptions suck #4 - Privacy
14:12. Exceptions suck #5 - Monitoring
17:19. The Result Pattern
17:58. ErrorOr
20:15. Result Pattern ftw #1
21:42. Result Pattern ftw #2
23:39. ErrorOr 2.0
24:17. Outro
Not throwing exceptions will make your code faster, simpler, faster to debug, and easier to maintain.
We'll also see the alternative flow control approach which is the result pattern. The result pattern will be demonstrated using ErrorOr, and we'll see how the ErrorOr library can be used to elegantly return errors instead of throwing exceptions.
Connect with me on 'em socials:
Thanks for watching, don't forget to like & comment & subscribe! ❤️ 💻
00:00. Intro
01:17. Exceptions suck #1 - Messy
03:45. Exceptions suck #2 - Complex
08:40. Exceptions suck #3 - Heavy
09:46. Exceptions suck #4 - Privacy
14:12. Exceptions suck #5 - Monitoring
17:19. The Result Pattern
17:58. ErrorOr
20:15. Result Pattern ftw #1
21:42. Result Pattern ftw #2
23:39. ErrorOr 2.0
24:17. Outro
Exceptions are evil. This is what I do instead.
Checked Exceptions are Evil
Exceptions aren't evil. Well, not totally evil.
'Christianity is evil' Voltaire, 1736
KIND TO EVIL: Karens are everywhere, La Jolla is NO EXCEPTION! (FULL VIDEO DROPPING TONIGHT!)
Exorcist: 'This is the MOST Evil Generation'
The Most Evil Cult Leader in History
Father Mark Beard - Abortion is Always Evil NO Exceptions #christ #shorts #christianity #catholic
The MOST Evil Man in the World Who Captured American Humanitarian Kayla Mueller
The Equalizer (2014) - Brick by Brick Scene (8/10) | Movieclips
Why async void is evil? How to use it safely when needed? | CodeNameK - 10
CIA Targeter Finds One of the World's Most Evil Bad Guys
Is This Why Ted Bundy Became So Evil?
EVIL WITCH curses NORMAL BRO 🚨 ✨ Watch our full horror short film! #horrorshorts #skit #shortfilm...
Inside One of the Most Evil Families in the World
One of the Most Evil Predators in History
Evil Personalities #shorts #countryballs #animation @stateballs
Spec Ops Capture Evil Combatant Responsible for American Beheadings
One of the Most Evil Priest in the World
Central Bank Digital Currencies Are EVIL
Is The Catholic Church a Force for Evil?
Evil Jennifer Lopez Lies She Tried To Keep Secret From The Public
Everything we know about Roo / Root of evil / Eve in Hazbin Hotel
The Evil Within 2 : Proof That All Of It Happened In STEM
Комментарии