Skip to main content
Tweeted twitter.com/StackProgrammer/status/735831619773313024
added 46 characters in body
Source Link

What are the pro's and con's of the Under what scenarios would 'functional' `Try` versus theobjects be more or less beneficial than 'rx' `Try` objects?

Definitions used by this question:

Under what scenarios would one style be more beneficial than the other?

Of course, if the called function throws an exception, it's easier to use the 'rx' style. OTOH, it's still possible to wrap that function with another function that follows the 'functional' style.

What are the pro's and con's of the 'functional' `Try` versus the 'rx' `Try` objects?

Definitions used by this question:

Under what scenarios would one style be more beneficial than the other?

Of course, if the called function throws an exception, it's easier to use the 'rx' style. OTOH, it's still possible to wrap that function with another function that follows the 'functional' style.

Under what scenarios would 'functional' `Try` objects be more or less beneficial than 'rx' `Try` objects?

Definitions used by this question:

Under what scenarios would one style be more beneficial than the other?

Of course, if the called function throws an exception, it's easier to use the 'rx' style. OTOH, it's still possible to wrap that function with another function that follows the 'functional' style.

Source Link

What are the pro's and con's of the 'functional' `Try` versus the 'rx' `Try` objects?

Definitions used by this question:

Under what scenarios would one style be more beneficial than the other?

Of course, if the called function throws an exception, it's easier to use the 'rx' style. OTOH, it's still possible to wrap that function with another function that follows the 'functional' style.