Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bfrydl
on Dec 4, 2018
|
parent
|
context
|
favorite
| on:
NULL: The worst mistake of computer science? (2015...
It isn't. There exists a common monad that solves this problem but a wrapper type like Option or Maybe need not be a monad. For example, `Nullable<T>` in C# is not a monad.
danesparza
on Dec 5, 2018
[–]
Aha! You're right. I misremembered this excellent blog series from Eric Lippert (a member of the c# design team):
https://ericlippert.com/2013/02/25/monads-part-two/
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: