Is there a benefit for using `Option<>` type...
# arrow
f
Is there a benefit for using
Option<>
types over
Nullable?
types other than the syntactic difference?
r
None 😉, unless you're using polymorphism. Nullable types can't target higher kinds at the moment but nullable types are better and will become the defacto in arrow because the runtime is optimized. The other nice thing is that Option being polymorphic is tested against laws of Functor etc.
🙌 1
In most use cases they won't make a different as it is a very simple strict data type
f
Thank you for the answer!
👍 1