Comment

Comment by beecasthurlbow

KeyError localizes the issue to the lookup (ie “right here this key should be present and it’s not) vs later in the code where it can be hard to trace where the None value came from or how to handle it.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton