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 “short name” to “key” #221

Merged
merged 2 commits into from
Jun 16, 2020

Conversation

c960657
Copy link
Contributor

@c960657 c960657 commented Jun 8, 2020

I am not a fan of the term “short name”.

  • It is not very short. Apart from spaces, it has the same length as the English localised name.
  • It is not the same kind of “name” as is used in the method name getName() but rather an identifier/key.

So I suggest renaming the concept to “key”. I have kept the public property Holiday#shortName for BC. This is now deprecated and will be renamed to $key (and made private/protected) in a future major release.

@stelgenhof
Copy link
Member

Thanks! For sure it is not always short. At the time I considered this to be a reasonable name, however doesn't really fit any longer.

@stelgenhof stelgenhof added this to the v2.3.0 milestone Jun 16, 2020
@stelgenhof stelgenhof merged commit 829abcd into azuyalabs:develop Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants