Тёмный

THIS Is How You Should Handle Recoverable Errors! 

About Clean Code
Подписаться 4,2 тыс.
Просмотров 1 тыс.
50% 1

Most modern mainstream programming languages use exceptions to ensure that exceptional cases are not ignored. But not all errors your software has to handle are truly exceptional. So how can we handle those in an elegant way?

Опубликовано:

 

30 апр 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 3   
@MaNgAnlmE
@MaNgAnlmE 2 месяца назад
I like to think about exceptions like this: “Exceptions are only to communicate with developers(or more generally maintainers of the application) NOT users” Do you think that’s a good rule?
@AboutCleanCode
@AboutCleanCode 2 месяца назад
@MaNgAnlmE I think this is a quite good guideline 👍
@pl4gueis
@pl4gueis Месяц назад
I see exceptions more for unexpected errors that we can't possible can recover from like hardware failures that prevent the application from functioning. All errors that we can possibly recover from by retrying or letting the user decide are better treated like part of the result and communicated in the function signature.
Далее
Principles of Component Design - Part 1
5:58
5 Async + Await Error Handling Strategies
18:11
Просмотров 20 тыс.
How principled coders outperform the competition
11:11
Global Error Handling in C# Minimal APIs
13:59
Просмотров 14 тыс.
Naming Things in Code
7:25
Просмотров 2 млн
What is Clean Code? with "Uncle Bob" Robert C. Martin
12:07
Why i think C++ is better than rust
32:48
Просмотров 276 тыс.
C++ Weekly - Ep 411 - Intro to C++ Exceptions
9:06
Просмотров 10 тыс.
15 Python Libraries You Should Know About
14:54
Просмотров 369 тыс.
A Simpler Way to See Results
19:17
Просмотров 98 тыс.