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

Whether one uses tabs or spaces, Allman or K&R, etc. is largely immaterial.

On your own projects, choose a style, go with it. On someone else's project, go with the style chosen. On a shared project, come up with a style, go with it.

Code _organization_ matters way more than code _style_. Where style refers only to the aesthetic choices that don't impact the structure or flow.



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

Search: