Comment

Comment by sirsinsalot

Cheaper than fixing bugs due to illegal key access.

Cheaper than get() masking bugs in your code or dict generation.

But yes let's prematurely optimise for speed in a slow-by-default language by writing bug prone non-idiomatic code. OK.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton