Comment

Comment by avip

The pythonic example I've seen not once:

{"some": "dict"}.setdefault("some", foo())

while expecting foo() to be short-circuited.

parent avip 9 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton