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

Unnecessary use of static values #11

Closed
BRMatt opened this issue Jul 11, 2011 · 1 comment
Closed

Unnecessary use of static values #11

BRMatt opened this issue Jul 11, 2011 · 1 comment
Labels

Comments

@BRMatt
Copy link

BRMatt commented Jul 11, 2011

I'm not sure of the reasoning behind the static variables in the Gateway class. In pretty much all instances that one of the variables is referenced you're actually within the scope of a class and thus have to use a late static binding hack to get at the actual value of the variable.

Is there any reason why these cannot be changed to normal member variables?

@akDeveloper
Copy link
Owner

There is an issue i opened for this reason, Issue 10, where i explain why i use the late static binding hack and why these variables must be static.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants