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
clang-format is producing some questionable formatting which affects readability, especially for things on the more complex side. Things that need checked over:
Lambdas are hard to distinguish from other blocks - it would be better if they were more obvious. Possible solution is to not put a line break before the opening brace of the body.
Constructor initialiser lists are way too dense, especially when there are multiple members being initialised. Need to mess with indentations and line break settings.
Rules for variable names need to be standardised and checked more carefully. The case of variables is not always consistent (e.g. constexpr T memberName vs constexpr T MemberName is used in different places).
Feel free to add to this thread with things that you think are questionable about the formatting and readability! Making changes to the auto formatter can cause a bunch of merge conflicts, so its better to make a bunch of changes at once and find a quiet time to do it.
The text was updated successfully, but these errors were encountered:
Description
clang-format
is producing some questionable formatting which affects readability, especially for things on the more complex side. Things that need checked over:constexpr T memberName
vsconstexpr T MemberName
is used in different places).Feel free to add to this thread with things that you think are questionable about the formatting and readability! Making changes to the auto formatter can cause a bunch of merge conflicts, so its better to make a bunch of changes at once and find a quiet time to do it.
The text was updated successfully, but these errors were encountered: