News for hackers. Stuff that matters.
Re:Why Elm? [pdf] by minikomi on Monday May 08, 2017 @11:20PM (#14297499)
As an open question to yourself, or anyone else advocating elm heavily, can you show something cool you've built using the language? That would be the most convincing argument!
Re:Why Elm? [pdf] by _greim_ on Tuesday May 09, 2017 @12:41AM (#14297782)
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.

Re:Why Elm? [pdf] by minikomi on Tuesday May 09, 2017 @04:49AM (#14298560)
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?
Re:Why Elm? [pdf] by _greim_ on Tuesday May 09, 2017 @10:29AM (#14300270)
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.

Re:Why Elm? [pdf] by nagyf on Tuesday May 09, 2017 @03:03AM (#14298240)
Very nice, thanks for posting
Re:Why Elm? [pdf] by antouank on Tuesday May 09, 2017 @02:53AM (#14298197)
Would this help?

http://builtwithelm.co/

Re:Why Elm? [pdf] by minikomi on Tuesday May 09, 2017 @04:36AM (#14298523)
Interesting. Almost every site with multiple pages I visited had a lot of weird behavior when using browser back/forward.

There's a lot of snake games, tic-tac-toes and 2048 clones -- I was looking for more along the lines of multiple page apps where elm made it a lot easier to build, and stories thereof.