Skip to content

rename method arguments for clarity #1716

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 9 commits into from
Dec 30, 2021
Merged

rename method arguments for clarity #1716

merged 9 commits into from
Dec 30, 2021

Conversation

stephengold
Copy link
Member

Sometime a formal method argument has a name that obfuscates its purpose, such as a JmeImporter named e or when words are run together without using camelCase.

@stephengold stephengold marked this pull request as draft December 21, 2021 08:51
@stephengold stephengold added this to the v3.5.0 milestone Dec 21, 2021
@stephengold stephengold marked this pull request as ready for review December 24, 2021 03:57
@stephengold
Copy link
Member Author

Unless there's substantial discussion, I plan to integrate this PR in about 29 hours.

@stephengold stephengold merged commit e2a570e into master Dec 30, 2021
@stephengold stephengold deleted the sgold/rename-args branch December 30, 2021 05:24
stephengold added a commit that referenced this pull request Jan 9, 2022
* rename method arguments for clarity

* Transform:  rename 2 args

* Quaternion:  rename 3 args

* rename "JmeImporter e" arguments

* Vector3f:  vector arguments named "scalar"???

* Vector4f:  vector arguments named "scalar"???

* Google style prohibits underscores in argument names

* jme3-core:  "Amnt" -> "Amount"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant