Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't spend a lot of time advocating, but here are my first two attempts at building stuff in Elm.

https://greim.github.io/elmsweeper/

https://greim.github.io/electron-golf/

Honestly I think it would have been easier to build the first iterations of these in JS (React or something) but with the second->nth iterations, it became easier with Elm.



I'm seeing a lot of simple games on the built with elm site - do you think that's a sweet spot for using elm?


Not sure, maybe.

A lot of it might be that simple games are fun and relatively easy, so well suited for learning new stuff in your spare time.

Then again, the electron golf game re-renders SVG DOM at 60fps. Building web apps that way hadn't occurred to me until React came along, and I didn't attempt it until Elm.


Very nice, thanks for posting




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: