exercism / exercism/python

[Yacht]: Rework Exercise to Be More In Line with the Original Intent (Enums not Lambdas)

Aperta
#3,472 0 commenti 1 reazione 1 assegnatario Rivendicata da @BethanyG Vedi su GitHub
Lingua principale
Python
Stelle
2.5k
Fork
1.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

See now closed issue #3205, as well as the discussion on [PR #3375](https://github.com/exercism/python/pull/3375) and the discussion on [PR #3420](https://github.com/exercism/python/pull/3420), among others.

This exercise appears to lend itself to `lambda` abuse, rather than encouraging the practice of `enums`, as was the intent from the earlier versions.

We need to somehow rework or rewrite this exercise to be more `enum` -forward or more encouraging of **not** assigning names to `lambdas`. Or we deprecate this version in favor of one that uses a string for the category rather than a constant.

Not clear on next steps, but this issue should serve as a start for re-work.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.