Thoughts on when to use `when(myOption) { ...some/...
# arrow
r
Thoughts on when to use
when(myOption) { ...some/none }
vs
myOption.fold({ ...success }, { ...fail })
? My coworkers and I are trying to figure out which we should prefer. I realize fold uses when under in its implementation - just curious to hear if there’s a convention we should be following.