Comment

Comment by mattmanser

I tried to code like this already, but one scenario I've found that is ruining this style is external API calls.

I'm now finding my code heading back to the old littered style whenever I have to update or get information from someone else's API just because I have to handle potential failure there and then.

Very frustrating, anyone got any insights on how they're dealing with it?

parent mattmanser 15 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton