Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename .bind() to .then() #29

Closed
sobolevn opened this issue Feb 14, 2019 · 2 comments
Closed

Rename .bind() to .then() #29

sobolevn opened this issue Feb 14, 2019 · 2 comments

Comments

@sobolevn
Copy link
Member

bind causes too many associations with monads. Which is not a good thing.
But, bind is also not so understandable. then is just like in Promise. So, it is way more readable.

@sobolevn
Copy link
Member Author

On the other hand, people might confuse Result with Promise. So, maybe that's not the best idea.

@sobolevn
Copy link
Member Author

Nope, too confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant