this post was submitted on 09 Jun 2024
231 points (79.7% liked)
> Greentext
7540 readers
6 users here now
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Null reference checking by the compiler is enabled by default in new C# projects.
C# doesn’t come with an option monad in its standard library, but its cooler sibling F# does.
You can also easily write your own option monad or use a tiny library that does.
Good idea, then patch the whole standard library and dotmet framework and most popular libraries to use that tiny library
You don't need to use the same one. Just don't expose it publicly in libraries.
This is the stupidest thing I've read all day
Didn't ask