logoalt Hacker News

p1neconelast Monday at 11:40 PM0 repliesview on HN

Or if even that feels too verbose, just a 'nullable' modifier on the variable or field definition, with the default being not nullable.

(Although Optional/Maybe types are definitely my preference based on the languages I've used)