My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
Ikechukwu Eze

2 likes

·

1.1K reads

1 comment

Ryan Hintze
Ryan Hintze
Mar 18, 2024

Enjoyed the article! What do you think of using contracts for nullable values instead of using the result of bind? I can only think that this might cause some issues if a background thread or value read changes the value. I implemented a PoC here:

https:// github .com/spyderrsh/extending-kotlin-null-safetly/commit/40fc29336725f2e4c7fdd353c062973405a356a6

(Sorry, new user, so I had to add spaces in my link)

·