Skip to content

Purpose of namespace #31

Open
Open
@CroniD

Description

Hi there,

Namespace and Class directives are basically aliases for each other (regarding the implemenation), which is confusing, because a namespace may be considered as a construct which contains multiple classes. Kinda like a grouping feature.

The documentation (README.md)

A namespace can be used in more than one file (for example, when plugging more functionality to an existing class).

doesn't reflect that Namespace and Class are the same and the implementation doesn't enforce the documented behavior.

Also I think Namespace and Class should use different templates to help differentiating each other visually if desired.

Best regards

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions