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

1. This problem is introduced by increasing the tab width, so this solution is basically "don't do that". 2. Line wrapping on something like C where you have braces is okay, but not with something like Python where the code now looks wrong.

I'm in the spaces camp, but I was musing about this for the tabs camp because wanting to adjust the indentation seems reasonable.

(My "favourite" convention was Luajit where the convention was: 2 spaces, until we got to 8 spaces, in which case tab.)



Yep, that's why line-wrapping is #2. I can see why it'd be less acceptable for some languages.




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

Search: