Follow

I guess the slick truth model usually sidesteps this:

(let [home (or address "no address")]
home)

and I like having some-> for safe interop:
---
RT @DThompsonDev
Javascript has a cool feature called Nullish coalescing. A logical operator that returns the value of the right side if it is null or undefined.

const home= address ?? "No address"

If address is Null, it returns the right side. I really like the way t…
twitter.com/DThompsonDev/statu

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.