You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because conditional statements, such as 'if-then-else', belong to lower levels of abstraction
This sounds like satire... why wouldn't I use if/else on my application?
Instead, consider a different explanation. This is essentially a way to move through your data in a monadic way, kind of like javascript's then/catch in Promises.
The text was updated successfully, but these errors were encountered:
Like the name suggests the library is geared towards conditional averse Rubyists like me. The monadic way is just an implementation detail one of many solutions. I will be building additional features with the same goal in mind. It's only the first draft, I guess I could soften up the message a bit and be less opinionated. With the additional features, the description will be more obvious. If/else has it's place, but not in my application code. Thanks for the feedback.
This sounds like satire... why wouldn't I use if/else on my application?
Instead, consider a different explanation. This is essentially a way to move through your data in a monadic way, kind of like javascript's then/catch in Promises.
The text was updated successfully, but these errors were encountered: