News for hackers. Stuff that matters.
Re:Proposed JavaScript Standard Style by vkjv on Thursday April 28, 2016 @11:17AM (#11589471)
I'm on the fence about this syntax.

    var
        foo = 1,
        foo = 2;
The reason being that things will align whether you use a tabs with a width of 2 or 4.

I also use spaces for mid-line alignment and tabs exclusively for identation. I think this is called "smart tabs"?

Re:Proposed JavaScript Standard Style by tobr on Thursday April 28, 2016 @02:31PM (#11590960)
I don't really care if people use tabs or spaces as long as the codebase is consistent, but aligning things in the middle of a line is my pet peeve. It's fiddly to maintain, it ruins source control because it requires you to edit many lines when you change one, and worst of all, it makes it impossible to use a proportional typeface.