exercism / exercism/python

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

未关闭
#3,472 0 条评论 1 个 reaction 已指派 1 人 已被 @BethanyG 认领 在 GitHub 查看
主要语言
Python
星标
2.5k
派生
1.5k
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。