hn • r/hackernews
Comment on: Clojure 1.13 adds support for checked keys
> ... if the key is missing today you'll get nil as the value and since Clojure is a nil punning language it usually does sensible behaviour in your programAnd that is still doable AIUI: they're optional checked keys. The doc describing them makes the distinction between required and non-required keys.Arguably we already had those: I religiously use spec'ed maps in my Clojure since a great many years (and Clojure spec is still in alpha, but "alpha" in Clojure land basically means: "more stable and less likely to change than any feature in any other language" and I'm only slightly exaggerating