-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring ideas #44
Comments
Looking at this again. Here is my suggestion:
|
@CharlesGueunet @Meakk : Regarding this namespace discussion: https://gitlab.kitware.com/f3d/f3d/-/issues/227#note_942471 I still am not sure of what you mean and how to set it up, I'll let you take the lead on this. |
@CharlesGueunet pragma once is still a no imo: https://stackoverflow.com/questions/1143936/pragma-once-vs-include-guards |
Regarding the F3DLoader/F3DStarter separation, it try to separate the starting from the file loading, the resulting signature for the constructor of the F3DLoader would looke like this:
It can be done be not that beneficial |
This thread is meant to discuss code improvements. It can be edited by everyone.
Use sub-folders
Architecture may be improve by splitting files in folders:
please, edit this list, I am not the best fit to fill it.
Use namespaces
f3d::except
?f3d::filter
,f3d::data
, ... may be too verbose.)NamespaceIndentation
)Add CMake Preset for build / testing
Class splitting/reorganization
...
Misc
#pragma once
The text was updated successfully, but these errors were encountered: