2 likes
·
1.2K reads
1 comment
·Mar 18, 2024
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)
·