-
Notifications
You must be signed in to change notification settings - Fork 18
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
API proposal #6
Comments
Agree |
temporary solution for plugin developers (already discussed in #6)
Since you're doing singleton anyway, why not just make all the API methods static? |
The reason behind that is i was trying to not violate OOP as much as I could. I'm thinking of having an API entry/class (wrapper for the existing methods) to use static methods. |
Using static methods doesn't violate OOP. I mean, if you want to keep the API simple, simply expose a static method and fetch the singleton inside the implementation. |
Any updates? This plugin will likely get featured on Poggit, but only if it has a proper, simple API intended for external users. |
Yeah there is update on my local machine, I'll push them after doing some final testing tonight. |
implement a more simplified API for plugin developers or maybe just use singleton for the main class
The text was updated successfully, but these errors were encountered: