We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[Question]: class vs namespace in CodeLite/fileutils.cpp ?
The FileUtils class in CodeLite/fileutils.cpp contains all public static functions (well except for Deleter embedded class)
Maybe I've missed a detail here - but is there any reason for not just keeping these public static functions in a namespace (called FileUtils) ?
The text was updated successfully, but these errors were encountered:
Pro and cons of static class versus namespace:
static class
namespace
private
using namespace FileUtils
WXDLLIMPEXP_CL
dllexport
dllimport
So mostly similar, and differ by styles. I tend to prefer namespace style too. but up to Eran.
Sorry, something went wrong.
eranif
No branches or pull requests
[Question]: class vs namespace in CodeLite/fileutils.cpp ?
The FileUtils class in CodeLite/fileutils.cpp contains all public static functions (well except for Deleter embedded class)
Maybe I've missed a detail here - but is there any reason for not just keeping these public static functions in a namespace (called FileUtils) ?
The text was updated successfully, but these errors were encountered: