05. Better Error Handling with Function Composition // JavaScript Codecasts

preview_player
Показать описание
🎬 How do you safely handle runtime errors without a mess of try…catch and if…else? 😷 Why, function composition of course!
Has TL;DR helped you craft better code? Consider supporting me on Patreon. 🤗

Read a transcript of today’s episode:

Want to keep leveling up your craft? Subscribe for more rapid codecasts on design patterns, refactoring and development approaches.

Want a little BTS on the recording studio? Here’s my entire nomadic studio setup:

___

👋 In between codecasts I’m on Twitter or vlogging about landscape photography. Join me at your favorite hangout!

___

Let’s work together:
Рекомендации по теме
Комментарии
Автор

Very nice! I have watched this video when I was just starting out and thought it looked nice, but didn't find myself using it too much. However, now almost 5 years into my career I have acquired some taste for functional programming and found myself looking specifically for this video!
P.S. you were a great instructor and even now your elegant and easy to understand code seems like magic to me

MrChabi
Автор

As someone with a CS degree, but little experience with js (less 5 projects of experience), this kind of syntax is messing with my head... I've used decoupling and arrow functions, but the nested/cascading arrow functions confused me >.<

erickballesteros
Автор

Hi Jonathan, this video series is awesome and super inspiring! :) And I hope I’m not mistaken in thinking it will dig deeper and deeper into functional programming concepts the further we get in to it. I wish I could see the entire code, after each episode, instead of just the transcript. And as another feature request, I really hope you get in to the functional approach to http requests using I/O monads or something similar. Keep up the great work! This series really deserves more attention! :)

janvidar
Автор

I wish you would continue to add new contents. Each video is a gem.

ibrahimkoz
Автор

Hi Jonathan, could you please explain everything a bit slower and with more detail ? It's really hard to keep up and understand what's going on 😓

DeGoya
Автор

Damn i hate functional programming. So much bullshit code instead of good readable try catches. Just put a custom function in your catch block that deals with all the cases.

eugeneganshin