Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/minibill/elm-trivia-kata
https://github.com/minibill/elm-trivia-kata
Last synced: about 8 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/minibill/elm-trivia-kata
- Owner: miniBill
- Created: 2023-10-02T12:27:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-25T13:23:38.000Z (5 months ago)
- Last Synced: 2024-06-25T14:48:53.840Z (5 months ago)
- Language: Elm
- Size: 61.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# "Trivia" kata
This is a refactoring kata (exercise). The idea is to start from some code which is far from ideal (in this case, because it's a direct translation of spaghetti imperative code) and make it more readable, more robust, more idiomatic.
The original implementation is in [caradojo/trivia](https://github.com/caradojo/trivia).
I suggest starting by adding `elm-review`.
## Solution
There isn't a single "correct" solution, but you can look at my take in the `clean` branch.