Decide on coding style and conventions #21
Labels
discussion
Some input from team members is wanted.
refactor
A task that will improve code readability, without changing outcome.
OpenLRR is in need of style guidelines, and an accompanied
.editorconfig
to enforce them.Along with this, naming conventions should be decided upon. This includes how to handle the 20-year-old naming conventions of the GODS 98 engine, and conventions in LegoRR that are visible through similar practices seen in GODS (i.e. name tables reflect the names of real enum/flag values).
(this issue is a work in progress, and is still being written)
All of this is open for discussion. Please give feedback even if you believe your suggestions to be minor nitpicks.
Entries with an unchecked box, are still mostly undecided. Entries with a checked box and (final), are the only standards not open for discussion
Coding style
General formatting
tabs
4
(final)crlf
(final)utf-8
(final)no
(final)C/C++ formatting
Braces
new line
same line
same line
same line
new line
Spacing
yes
no
yes
yes
no
yes
no
Fluff
yes
yes
The text was updated successfully, but these errors were encountered: