Mike
02/03/2020, 2:05 PMResult
, I've used Either
as BIO
isn't quite available. BIO
appears close, so I may use the 0.11.0-SNAPSHOT of Arrow, and add a version using that.
Regardless, if you have any comments, feedback, or questions on the code, please let me know.
Certainly increases my desire to use a strictly typed domain for writing code. You'd still want tests (of which I only have a few in this repo), but it simplifies testing. Mocking becomes providing a Lambda that conforms to the signature and returns the value you want. No complicated (and slow) mocking frameworks. Simple DI in the real code, explicit business case error vs exceptional situation separation.
I see many benefits to this approach.trathschlag
02/06/2020, 10:17 AMMike
02/06/2020, 12:45 PMtrathschlag
02/06/2020, 1:05 PMMike
02/06/2020, 1:55 PM