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

I agree with you. What i took away from that point was to leave it to an automated tool. Th Eclipse Java formatter was the first time I saw this work. Distribute the formatter settings among your team, make everyone set the "format on save" option, be done with it.

I just wish all languages had this kind of support.



"indent" the program (for C) has been around for a while.

The other nice thing about automated formatting is that everyone can edit code in their preferred format, as long as they convert it back before checking in (for readable diffs)




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

Search: