Hacker News new | ask | show | jobs
by kostya-kow 4769 days ago
It looks weird without tabbing. But if the code was tabbed, then it would take too much space, since they are using huge tabs. That's why I prefer 3-space tabs. Not too small, not too big.
2 comments

3 tabs? is there a language, community or editor that encourages this convention? usually the default for tab is 4 or 2, and 4 is the PEP convention for Python, while 2 is very commonly used around Ruby as far as I have seen.

btw there are no tabs specifically because it's meant to be read as a single statement, not nested conditions.

Following typical layout rules, there's a much easier way to get this conjunction without indents:

if(foo == bar

        && baz == qux

        && ! frob

        && whatever()

        && something) {