Coding Standards
Every developer has opinions about the way they want their code to look: tabs vs spaces, single quotes vs double quotes, 80 char line length vs 120. Languages often provide guides on how you're meant to style your code. Python has "PEP 8" and GDScript has a style guide.
The problem with these languages is that they don't enforce their own code styles. This means, every developer on a team will probably have slightly different styles. This is a problem, when working with a version control system like Git, every change is tracked, no matter how minor. If three developers touch the same script, we want to see the meaningful diff between the changes, not conflate those changes with style choices.
Here'sIf anyou example of a diff that containsmix style changes atit thecreates samereally timenasty asdiffs, asee functionalwhy change:
matters here: Bad Diff vs Good Diff
Good luck finding what changed. Could you approve that code review saying you understand what happened with a straight face?
Here's the exact same functional change without the style changes:
