Skip to content

Unnecessary overuse of ternary operator #9

Description

@Darkfrobozz

Leads to repetitive and harder to read code, just use an enum for this in the component and a switch statement.
Moreover, the identifiying functions are scattered all over the place, just have a module for ascertaining the type and then pipe the result into an enum to a module that acts on that result.

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