You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. Wanna ask why this source code isn't using Sun code conventions? I assume, that it's because your main language is ActionScript?
And is there any internal conventions for code contributing?
Thank you.
The text was updated successfully, but these errors were encountered:
I edited the title otherwise it looks like a question for the forums. The reason why the code is this way is because the most code is ported from the original flixel. There are some code like the underscore for private variables and capital for the arguments (I don’t use this one). I haven’t use Sun’s conventions, because at work they use their own conventions.
Having an eclipse-formatter.xml for flixel-gdx would be handy for contributors.
I think, formatter.xml file isn't necessary. As for me, I don't use auto-formatting.
Just need few lines about naming for: private, public, static variables, method parameters, classes and so on.
But the common way is to use "default" conventions: http://www.oracle.com/technetwork/java/codeconventions-150003.pdf
There is Java Conventions formatter in eclipse. You can copy that and adjust it. The main difference in flixel is that the begin bracket is placed at left. I need to check the other differences, but you’re free to use that.
Hello. Wanna ask why this source code isn't using Sun code conventions? I assume, that it's because your main language is ActionScript?
And is there any internal conventions for code contributing?
Thank you.
The text was updated successfully, but these errors were encountered: