Replies: 2 comments 9 replies
-
Yeah, I've only seen the style guide way after I've started work on COGITO. I'm all for unifying and cleaning up the scripts and will try to do so as I go, but it's currently more of a side-task than a priority. |
Beta Was this translation helpful? Give feedback.
-
I think this is very valuable, but real talk: I do not care about any or none spaces on clamps, as long as there are not like 6 together, lol. One thing that is not very clear are the typed var hints, which can/will affect performance. I would never write it that way: But that is something where someone has the make the decision, which way is the way to go. Maybe you could install a template for pullrequests and one for issues ? I guess most people can agree with the declaration on top, which should be inside a code region, then the inbuild-classes and then the selfwritten-classes. |
Beta Was this translation helpful? Give feedback.
-
I notice some little things in the scripts that aren't quite to the style guide. https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_styleguide.html
I'm not sure how much we care lol. For example, class names are often put after extends, but the style guide puts them before.
I also think we could make more use of code regions.
Can we have a candid discussion about style for the project? Even if the result is anything goes lol
Beta Was this translation helpful? Give feedback.
All reactions