Skip to content

Robot Name: clarify what "unique" means #1937

Open

Description

@bhagerty

The specification for the Robot Names exercise says the solution "must ensure that every existing robot has a unique name" (confusing words emphasized).

The use of "existing" together with "unique" makes "unique" unclear. This could mean either:

  1. "ensure that the name of every existing robot is different from the name of every other existing robot."
  2. or: "ensure that the name of every existing robot is unique among all robot names ever used."

Meeting specification 2 will necessarily meet specification 1, but the opposite isn't true. Since one can imagine a situation in which it would be okay to reuse a name that was used in the past as long as it's not currently in use, it's not obvious that we should simply meet specification 2. So I think the problem specification should be clarified.

Activity

  1. ErikSchierboom commented on Feb 1, 2022

    @ErikSchierboom
    Member

    This exercise is slightly problematic, given that there are also two other related issues for it: #1831 and #1673 It would be good to collectively discuss what we want to do with this exercise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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