Comment

Comment by block_dagger

As others have mentioned, the safe navigation operator (&.) obviates the need for converting nil to "default" cast values. Would be nice if Integer(nil) worked like Array(nil) though.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton