Hacker News new | ask | show | jobs
by yepperino 3596 days ago
> In order to combat trailing commas I normally place the comma on the following line

Ah okay, so you're that guy whose code I have to reformat in every new job.

3 comments

Ah, so you're the guy whose code I have to re-reformat back to the proper format.
I use industry standard IOCCC formatting rules. Doesn't everyone?

http://www.ioccc.org/2015/endoh1/prog.c

If you're having to do it on every job, maybe you're the unusual one
Weirder still - why do I follow him from job to job?
I like where this is going :-)
I highly recommend having a couple of reformatting scripts around - its a great way to find logical errors quickly.

Of course don't commit reformats where it diverges from the codebase.