News for hackers. Stuff that matters.
Re:Tabs, spaces and your salary – how is it really? by throw_away on Tuesday June 20, 2017 @12:15PM (#14595828)
I also follow this approach. I also use these other rules:

    var something =
    [tab]someReallyLongCallThatWouldExceedMargin()

    someObject
    [tab].call()
    [tab].otherCall(param)
    [tab].yetAnother(
    [tab][tab]withLong,
    [tab][tab]parameters);
I use four literal spaces, but I think this approach would work well with literal tabs. The only problem is most IDEs do not have an expressive enough configuration to do this, nor do I think I could make it easily happen out of the box with tools like indent or gofmt.

There are no comments on this comment yet.