Using Option instead of Undefined or Null in Codebase
Are you all able to use
I find myself always relying on undefined/null and then internally I rarely use
Option as opposed to undefined or null ? Like, when you enter the effect world in your codebase, do you find any undefined or null going around or are them all Options? Is that a goal I shoul pursue?I find myself always relying on undefined/null and then internally I rarely use
Option in some async effect which may or not return something. But when dealing with nested properties, they always are undefined or null in my codebase.