Closed akazukin5151 closed 4 years ago
Compare to using or in the use-or branch
or
use-or
https://github.com/twenty5151/koneko/blob/3945099119f2c85b7729a4ef2c726621e0d15ba0/koneko/lscat.py#L39
https://github.com/twenty5151/koneko/blob/3945099119f2c85b7729a4ef2c726621e0d15ba0/koneko/utils.py#L183
Using or doesn't even catch any exception being raised. Railway will be accepted.
Compare to using
or
in theuse-or
branchhttps://github.com/twenty5151/koneko/blob/3945099119f2c85b7729a4ef2c726621e0d15ba0/koneko/lscat.py#L39
https://github.com/twenty5151/koneko/blob/3945099119f2c85b7729a4ef2c726621e0d15ba0/koneko/utils.py#L183
Advantages of using Result
Disadvantages of using Result
Advantages of
use-or
Disadvantages of
use-or