Тёмный
No video :(

Unexpected Monad. Is Safe Error Handling Possible in JS/TS? by Artem Kobzar and Dmitry Makhnev 

JSConf
Подписаться 283 тыс.
Просмотров 3,7 тыс.
50% 1

Error handling is an extremely hard part of every JavaScript project that can produce a lot of bugs. Usually, developers use just the try/catch as a standard approach for the error handling, which is not so ideal solution because this statement catches anything which was thrown by the “throw” statement, as results developer:
- need extra conditions for handling restricted classes of exceptions;
- should rethrow errors or it can be eaten up;
- can’t separate errors and exceptions;
In this talk, you’ll learn how to implement safe error handling (without mentioned problems) in a project and with perks like typed errors inside handlers, errors documentation of functions/methods without JSDoc and comments, and the ability to log your errors without a break of the error handling flow.
jsconfbp.com/s...
Artem is working for JetBrains on the compiler from Kotlin to WebAssembly. Also, he's helping with the SourceMap Specification as an invited expert in TC39. At night (if he's not fixing production), he likes lifting heavy weights in the gym or/and drinking good Chinese tea.
Dmitry is a software developer at WebStorm. Before almost 14 years he was a frontend developer. Ex-member of HolyJS conference selection committee, co-organizer of JetBrains JavaScript Day. He loves his son, Chinese tea, South Holland, bicycle rides, great technical talks and art (Impressionism++).

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

 

5 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 7   
@aazolotyh
@aazolotyh Месяц назад
Really cool talk! Thank you, guys!
@filipbystricky7301
@filipbystricky7301 Месяц назад
Awesome talk, thank you! I really like how you explained all the concepts in a fun and approachable way!
@umarmuhammadzakari4585
@umarmuhammadzakari4585 Месяц назад
What a presentation!!!
@emterroso
@emterroso Месяц назад
I liked the content, but the jokes and the scripted dialogs are hard to watch. If you're ever repeating this talk, please consider making it straightforward, without the scripted dialog.
@bananasba
@bananasba Месяц назад
That's just a jetbrains promo, pass
@chrsbll
@chrsbll 4 дня назад
It really isn't
@m_raez
@m_raez 23 дня назад
Promise.AllSettled already provides this in the shape of {status: "fulfilled", value } or {status: "rejected", reason}
Далее
What Makes A Great Developer
27:12
Просмотров 185 тыс.
Throwing Swords From My Blue Cybertruck
00:32
Просмотров 11 млн
Timings hated him #standoff #timing #meme
00:14
Просмотров 489 тыс.
Decoding Perplexing TypeScript by Daria Caraway
26:50
What's Coming Next to JavaScript? by Nicolò Ribaudo
31:58
The Death of Monads? Direct Style Algebraic Effects
17:13
5 Async + Await Error Handling Strategies
18:11
Просмотров 21 тыс.
Frameworkless, Frictionless, Free by György Kovács
20:17
Throwing Swords From My Blue Cybertruck
00:32
Просмотров 11 млн