Skip to content

Final Keyword: Advantages and disadvantages  #10

@john-bv

Description

@john-bv

In essence, the idea of a final keyword on both a class and variable could be useful, however it also seems redundant, here's why:
If we have a class, type sharp automatically reserves the class in the namespace, we CAN NOT create a class with the same name in an existing namespace, however final keyword would enforce this further, and disallow this class name from being used at all again. Essentially blocking the name from being used again, while this could work as an advantage, it also seems like a disadvantage for projects that may have the same names but have different functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CompleteThis issue or PR is completeHelp WantedExtra attention is neededquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions