Robert Menke
04/15/2019, 6:49 PMwhen(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.