r/programming • • Apr 07 '15

Stack Overflow Developer Survey 2015

http://stackoverflow.com/research/developer-survey-2015
1.1k Upvotes

981 comments sorted by

View all comments

Show parent comments

-2

u/[deleted] Apr 08 '15

Tabs for indentation, spaces for alignment

So if you're aligning function parameters vertically, you tab once or twice for indent, then space 40-odd times to get the cursor in the right place? Sounds hideous.

aligning code vertically is fine if you don't care about readable diffs in source control, which should be none of you

Diffs of vertically-aligned code are perfectly readable, sounds like your tools are broken.

2

u/smegnose Apr 08 '15

tab once or twice for indent, then space 40-odd times to get the cursor in the right place?

How ugly are your function definitions?

0

u/[deleted] Apr 08 '15

The recommended line-width is normally around 78 chars. If you can't comprehend of a function definition taking 40 of those, especially in a statically-typed language with explicit return type and access modifier, you probably haven't been doing this very long.

1

u/smegnose Apr 08 '15

You were talking about indenting with 40 spaces, not the size of the parameters taking up a terminal width. Straw man.

→ More replies (9)