News for hackers. Stuff that matters.
Re:Ellie – An Elm Live Editor by Tehnix on Saturday February 11, 2017 @02:07AM (#13621521)
> In a compile-to-JS language it's hopefully possible to make trailing commas legal. They've been legal in JavaScript itself for a long time

Well, Elm is not trying to be JS, it's trying to be better, and there's really no reason to need trailing commas. I'd even argue that it argue it leaves a message of mixed intent "did the author want to continue the list?" and needlessly enables duplicate styles for the same one thing.

Re:Ellie – An Elm Live Editor by allover on Saturday February 11, 2017 @03:00PM (#13624461)
That's a tenuous argument. I've yet to meet a developer who thinks a trailing comma is the slightest bit ambiguous when the next character is a closing bracket.