-
Notifications
You must be signed in to change notification settings - Fork 27
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
from(Class) #65
Comments
@xenoterracide You can just do |
Of course but that doesn't change your API. Anyways it's just an idea. I feel like that naming convention though is the common one for Java. Which is why I'm thinking you could just do it from the class. |
True, I'm just not sure whether it's worth it compared to using the existing API with |
Yeah I don't understand the window side of this so much... Like the impact. I would think what it should be is (and I'm on my phone, code typos May abound) "com.xenotericide" "xenotericide" "simple name" because your organization name is almost always what's after the tld, having just a namespace of com seems weird. Anyways, it's just an idea for something more conventional. Maybe it's a bad idea, maybe the java convention doesn't work with the mac and Windows conventions. |
As a background info: the function is the way it is (slightly unwieldy), because it tries getting enough information to work on all supported platforms, instead of e. g. having a method for one platform each and putting it on the user to call the right one. |
would it be possible to simply derive the values from a class? for example my personal pattern is
com.xenoteracide.library
(all apps are libraries) which kind of? maps into what's needed for the values needed. I don't have a company, and I'm not certain on that impact so usingxenoterracide
for that would be fine. I'm just thinking this is the general convention for java. Deviance from this can actually cause problemsThe text was updated successfully, but these errors were encountered: