Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

Private/Internal fields that are not written to should be marked readonly #104

@ChadNedzlek

Description

@ChadNedzlek

Annotating fields as readonly if they’re internal/private and we can prove they’re only ever read from, aren’t mutating structs, etc. There are potentially lots of fields across the codebase that could be made readonly, and while that doesn’t currently help with performance, it’s very helpful for readability, hygiene, etc.

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