Comment

Comment by squirtlebonflow

How is it natural to write code like that?

If it's None, don't put it in the cache. If T is None, don't put it in the cache.

if (typeof input != None) putInCache(input)

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton