Skip to content

class is a keyword is several languageas #381

Open
@rpatters1

Description

@rpatters1

The MNX specification has several objects with a property called class. However, class is a reserved word in several languages, notably C++, Java, C#, and TypeScript. When MNX is mapped semantically to those languages, the most natural way of accessing the class property will not be available without extra effort, e.g., myInstance.class.

Furthermore, class has a number of meanings in programming so I'm not sure it is a great name anyway. I would suggest styleClass or cssClass instead.

Metadata

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