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

Can't upvote this enough.

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!



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.


Seems like you need to find better auto-formatting and fix your workflow.

Else every language would be annoying to write, especially a lisp.


Not only have I gotten used to it (pretty much immediately), I get really annoyed when it's the other way.


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.




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

Search: