Skip to content

Use enum for valid algorithms #634

Description

@elshize

Instead of using booleans to say whether an algorithm needs wand data, use a descriptive enum:

enum WandDataRequired { YES, NO };

Or a variation on that.

This makes it easier to understand what the mapping means without needing an explanation in a comment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions