exercism / exercism/python

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

Open
#3,472 0 comments 1 reaction 1 assignee Claimed by @BethanyG View on GitHub
Dominant language
Python
Stars
2.5k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.