Re:Show HN: Tic Tac Toe Implemented in Elm
by vishaltelangre on Monday October 16, 2017 @02:06AM
(#15481191)
Yes, there are lot places I think I can optimize it. It is an initial implementation to get something working. Thanks.
But sure, that's still a lot. Part of it is that Elm lacks the proper generics support (which you can observe in the function names) and part is that the archotecture chosen by the creator may not be optimal in terms of maintainability. For example,
and I think, why not ? Its isomorphic (carries the same information) and it removes the need for the complicated getters.