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

use consistent case for local/global variables #49

Merged
merged 1 commit into from Jun 16, 2017

Conversation

jhoblitt
Copy link
Member

No description provided.

@jhoblitt jhoblitt requested a review from athornton June 16, 2017 18:35
Copy link

@athornton athornton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This not only looks good, I thought I was the only person who cared even a little.

* global variables should be UPPERCASE
* local variables should be lowercase
@jhoblitt
Copy link
Member Author

I think variable case is a pretty significant issue in larger scripts due to the inevitable tight coupling between functions due to global variables. I was trying to minimize code diff noise when cutting the script up into functions and refactoring, so I didn't fix variable case at that time (in retrospect, I feel I should have).

@jhoblitt
Copy link
Member Author

travis is running extremely slow today (hasn't even started on this PR yet), so I'm going to merge without waiting and deal with any issues after the fact.

@jhoblitt jhoblitt merged commit 7b30d73 into lsst:master Jun 16, 2017
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.

None yet

2 participants