Skip to content

give generic parameters nice names #99

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

Merged
merged 2 commits into from
Sep 9, 2019
Merged

give generic parameters nice names #99

merged 2 commits into from
Sep 9, 2019

Conversation

weissi
Copy link
Contributor

@weissi weissi commented Sep 6, 2019

Motivation:

There's no benefit in all generic parameters being named T, in fact I'd argue it can be quite confusing.

Modifications:

Renamed T to Delegate and Response which is more readable I think.

Result:

More readable code & API.

@weissi weissi added the ⚠️ semver/major Breaks existing public API. label Sep 6, 2019
@weissi weissi added this to the 1.0.0 milestone Sep 6, 2019
@weissi weissi requested a review from artemredkin September 6, 2019 06:48
@weissi weissi merged commit 1b31c5a into master Sep 9, 2019
@weissi weissi deleted the jw-generic-parama branch September 9, 2019 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠️ semver/major Breaks existing public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants