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
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.