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

That doesn't work when alignment depends on the tab size like aligning an indented line below an unindented line like long assignments

    Type myvar = something_very_long +
                 that_needs_alignment;
The only way to guarantee such complex alignment is using spaces. It renders everywhere exactly the same. So reviewing stuff on web-based environments gets easier.


You can do it: by putting tabs on the second line to the start of the first line, then using spaces to match "Type myvar = ".

It's just that sooner or later someone will get it wrong.




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

Search: