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
enables luke to provide something other than luke itself as the receiver of the setHeight message. When this delegation of control is intended, such method chaining is great. OTOH, if the caller assumes it is equivalent to
luke.jump();luke.setHeight(20);
then they depend on a contract that luke might not obey. That doesn't necessarily mean the style should not be used, but the hazard needs to be explained clearly whenever this style is encouraged.
The text was updated successfully, but these errors were encountered:
@erights Hey, I am a student learning about open source development at Seneca College in Toronto. Is it possible if you can assign this to me and I would love to contribute?
Thanks a lot & Happy Holidays!
@Fatehsandhu only repo collaborators can assign issues/PRs; only collaborators or the person who created the issue/PR can be assigned to an issue/PR. However, for this repo, anything that shows up in this search is looking for a pull request; please file one for any of them (this one included)!
Fatehsandhu
added a commit
to Fatehsandhu/javascript
that referenced
this issue
Dec 26, 2017
Re https://github.com/airbnb/javascript#constructors--chaining
Code like
enables luke to provide something other than luke itself as the receiver of the
setHeight
message. When this delegation of control is intended, such method chaining is great. OTOH, if the caller assumes it is equivalent tothen they depend on a contract that luke might not obey. That doesn't necessarily mean the style should not be used, but the hazard needs to be explained clearly whenever this style is encouraged.
The text was updated successfully, but these errors were encountered: