exercism / exercism/python

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

Đang mở
#3,472 0 bình luận 1 reaction 1 người được giao Được @BethanyG nhận Xem trên GitHub
Ngôn ngữ chính
Python
Star
2.5k
Fork
1.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.