Skip to content

Rename HexPattern.fromAngles and fromAnglesUnchecked to make their intent more clear #1189

Description

@object-Object

In almost all cases outside of static pattern initializers, fromAnglesUnchecked is the better choice because it allows overlapping patterns; however, currently fromAngles (which throws for overlapping patterns) seems like the default choice since it's shorter.

Suggested names:

  • fromAngles: fromDrawableAngles, fromAnglesChecked
  • fromAnglesUnchecked: fromAnyAngles, fromArbitraryAngles

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.21apiAPI-related enhancements/bugs/optimizationsbreaking changeoptimizationImprovement to existing features or performance (no new features or design work)

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions