Published on in Programming
I prefer to be very explicit about nullability of references, wherever possible. Happily, most modern languages support this feature non-nullable references natively (e.g. TypeScript, Swift, Rust, Kotlin).
As of version 8, C# also supports non-nullable references, but we haven’t migrated to using that enforcement yet. Instead, we’ve used the JetBrains nullability annotations for years.
Recently, I ended up with code that returned a
null even though R# was convinced that the value could never... [More]
3 days Ago
Published on in Quotes
“Writing is a way of revealing the contradictions of life that one would like to resolve. Writing fiction, like poetry, means simply to display those contradictions but not necessarily to resolve them. In fact, the reader, through his interpretive cooperation, decides what the story means.”