Re:Ellie – An Elm Live Editor
by Existenceblinks on Friday February 10, 2017 @08:07PM
(#13620326)
Reading the comma style, to me, is cleaner. But typing it while writing the record type is urgggg! It is this cycle: type words -> enter -> repeat tabs -> type comma -> type words Or you will have to keep hitting `save` command for auto-formatting.
Re:Ellie – An Elm Live Editor
by always_good on Saturday February 11, 2017 @07:01PM
(#13625672)
Seems like you need to find better auto-formatting and fix your workflow.
Else every language would be annoying to write, especially a lisp.
Re:Ellie – An Elm Live Editor
by montibbalt on Friday February 10, 2017 @08:12PM
(#13620341)
Not only have I gotten used to it (pretty much immediately), I get really annoyed when it's the other way.
Re:Ellie – An Elm Live Editor
by michaelscott on Saturday February 11, 2017 @09:04AM
(#13622644)
I don't read code like I read a novel. I read it in an attempt to understand the writer's intentions, and what the code is meant to accomplish. I find the leading commas to be far easier to scan than the other way around.
I am sure one gets used to it after some time, but prepending lines with comma, just because it makes it easier to add new lines is so so ugly and takes away from the main intent for newcomers.
This is akin to starting each sentence in English with a dot!