Skip to content
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

Allow support for namespaces #250

Open
jespa007 opened this issue Jan 10, 2021 · 0 comments
Open

Allow support for namespaces #250

jespa007 opened this issue Jan 10, 2021 · 0 comments
Assignees
Labels

Comments

@jespa007
Copy link
Owner

jespa007 commented Jan 10, 2021

namespace my_namespace{

}

I think is not necessary having static function support. We can organize all source files in the folders and classify each class by naming group at the end (usually). Name/Refactory is immediatly. Namespaces adds a layer of complexity.
The probability of name colliding can be negligible.

Personal notes: I hate namespaces because of naming convention. In c++ class/file is typed as CamelCase and namespaces/file are typed as snake_case. As a result we could see in the same folder a set of files typed ad snake_case and CamelCase. If namespace were not exist it would have a better life.

@jespa007 jespa007 self-assigned this Jan 10, 2021
@jespa007 jespa007 added this to the ZetScript 2.1.0 milestone May 17, 2023
@jespa007 jespa007 removed this from the ZetScript 2.1.0 milestone May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant