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
basically, we dont need to code in a new style we are not used to
as long we have a good auto-formatter template (create one on EclipseIDE or some command line that runs in all OSs to be run just b4 cmake)
of course, after auto-formatted, changing some parts back to personal stile will be replaced later by the auto-formatter :)
The text was updated successfully, but these errors were encountered:
I'm definitely not a good C/C++ programmer. I see people use "astyle" or "clang-format". The former require less dependencies and is easier to install.
EDIT: I tried some existing styles but didnt like much them (of course, that is a preference thing), ran like: clang-format -i -style=Google cmdcraft.cpp
anyway, I believe that copying from some existing style and tweaking it could be the best option.
btw, the worst thing I found on the styles seem to be the restriction of the line's width, apparently 80 columns, we dont really need it nowadays (just another opinion anyway xD)
#478 (comment)
basically, we dont need to code in a new style we are not used to
as long we have a good auto-formatter template (create one on EclipseIDE or some command line that runs in all OSs to be run just b4 cmake)
of course, after auto-formatted, changing some parts back to personal stile will be replaced later by the auto-formatter :)
The text was updated successfully, but these errors were encountered: