I'm looking for feedback 💬 over a small Ruby
implementation of the Result Object: https://source.olisti.co/snippets/1
Thanks in advance. 🖖
implementation of the Result Object: https://source.olisti.co/snippets/1Thanks in advance. 🖖
implementation of the Result Object: https://source.olisti.co/snippets/1@esparta I share this pragmatic consideration https://dry-rb.org/gems/dry-monads/1.0/result/ > The Success can be thought of as “everything went success” and the Failure is used when “something has gone wrong”. Regarding dry-rb/monads and the Result monad in particular, I feel it is an overly complicated component for the use case I'm aiming for, a use case I failed to comunicate. 🙂 I want to provide a component simple enough to be fully implemented with little code readable even by Ruby newbies.