exercism / exercism/python

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

Ouverte
#3,472 0 commentaires 1 réaction 1 personne assignée Réclamée par @BethanyG Voir sur GitHub
Langage dominant
Python
Étoiles
2.5k
Forks
1.5k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.