exercism / exercism/problem-specifications

Robot Name: clarify what "unique" means

オープン
#1,937 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Ruby
スター
358
フォーク
563
平均マージ
18時間 41分
マージ済み PR(30日)
2

説明

The specification for the [Robot Names exercise](https://github.com/exercism/problem-specifications/blob/main/exercises/robot-name/description.md) 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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。