News for hackers. Stuff that matters.
Re:Swift Style Guide by GitHub by Zikes on Monday January 25, 2016 @07:32AM (#10966801)
Sounds to me like you're saying there's no objectively correct answer that works for all languages and situations, which I agree with.
Re:Swift Style Guide by GitHub by scrollaway on Monday January 25, 2016 @07:39AM (#10966827)
There... is, actually. If you don't actually attempt to align the variable names, then what you're doing is "indenting items in a list", essentially.

In general, you should avoid aligning unless the readability gains are significant. Aligning things means that you end up re-aligning when you add or remove longer items. This increases maintenance and pollutes diffs (which also means code reviews and git logs).

Re:Swift Style Guide by GitHub by jahewson on Monday January 25, 2016 @11:56AM (#10968252)
My editor aligns things for me - no effort at all.
Re:Swift Style Guide by GitHub by scrollaway on Monday January 25, 2016 @10:49PM (#10971718)
You are creating effort for the people who review your code. On their behalf, please stop, it's tedious.