Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/minibill/elm-trivia-kata


https://github.com/minibill/elm-trivia-kata

Last synced: about 8 hours ago
JSON representation

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.