Skip to content

Why can't we use classes in classes? #60143

@stan-at-work

Description

@stan-at-work

This is a common and very helpful feature, in many languages.

This would reduce the number of files in a projects.
You can really scope your classes into one in other.

The you can have classes that have exacly the same name but live inside of 2 different parent classes.

This would solve the bad practice for having 2 classes with the same name in a project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed-duplicateClosed in favor of an existing report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions