Radio and PodcastRadio and PodcastLive Radio & Podcasts
Throw is about control flow – not error handling artwork
Technology

Throw is about control flow – not error handling

Frontend First by Frontend First

Apr 10, 202401:04:11Technology

Sam and Ryan talk about why it’s better to think of throw as a general-purpose JavaScript language feature rather than something that should only be used for error handling. They discuss the ambiguity around the phrase “...

About This Episode

Throw is about control flow – not error handling is an episode from Frontend First by Frontend First. Sam and Ryan talk about why it’s better to think of throw as a general-purpose JavaScript language feature rather than something that shou...

Podcast

This episode belongs to Frontend First.

Listen Online

Use the player on this page to stream the episode online.

Episode Details

Published Apr 10, 2024, 01:04:11 long, audio available.

Questions About This Episode

What is Throw is about control flow – not error handling about?

Sam and Ryan talk about why it’s better to think of throw as a general-purpose JavaScript language feature rather than something that should only be used for error handling. They discuss the ambiguity around the phrase “error handling”, situations that call for dealing with errors locally vs. globally, and how throw can be useful for non-error control flow. They also discuss the problems with trying to shoehorn dynamic features into a static site. Topics include: 0:00 - Intro 4:07 - Error handling vs. throw-try/catch 23:34 - Errors vs. Exceptions 31:52 - How Next.js uses throw for non-error control flow 40:44 - Adding a dynamic feature to a static site Links: Global progress in Next.js What color is your function Algebraic Effects for the Rest of Us

Where can I listen to Throw is about control flow – not error handling?

You can listen to Throw is about control flow – not error handling online on Radio and Podcast. Open the player on this page to stream the available audio.

Which podcast is Throw is about control flow – not error handling from?

Throw is about control flow – not error handling is an episode from Frontend First by Frontend First.

How long is this episode?

This episode is 01:04:11 long.

When was this episode published?

This episode was published on Apr 10, 2024.

Can I save Throw is about control flow – not error handling for later?

Yes. Use the heart button on the episode page to add it to your favorite episodes list.

Are there related episodes from Frontend First?

Yes. This page shows related episodes from Frontend First when more episodes are available from the podcast feed.

Quick Answers About This Episode

Where can I listen to Throw is about control flow – not error handling?

You can listen to Throw is about control flow – not error handling on this page when the episode audio is available from the podcast feed.

Which podcast is this episode from?

Throw is about control flow – not error handling is from Frontend First by Frontend First.

What are the episode details?

Published Apr 10, 2024 and 01:04:11 long