News for hackers. Stuff that matters.
Re:Developers Who Use Spaces Make More Money Than Those Who ... by qzygr on Friday August 16, 2019 @02:45PM (#20718277)
I like tabs because it allows developers to configure their editors with whatever width they desire.
Re:Developers Who Use Spaces Make More Money Than Those Who ... by inanutshellus on Friday August 16, 2019 @03:11PM (#20718592)
tabs don't work when you visually align code. e.g.

  some.method(param,
              param2,
              param3)
The above doesn't work if the creator of the code uses a different tab width than I do. If you want it to, you need to use an IDE that automatically recognizes the difference between indentation and alignment... which is frankly too much trust in others if you care about it.

If a default install of an IDE (including vIM) will screw up your code.... you might consider rethinking your strategy. :-)

Re:Developers Who Use Spaces Make More Money Than Those Who ... by insertnickname on Friday August 16, 2019 @03:38PM (#20718893)
That code would be misaligned anyway when someone changes the name of `some` or `method`.

You should format it like this (regardless of whether you use tabs or spaces):

  some.method(
    param,
    param2,
    param3
  )
Re:Developers Who Use Spaces Make More Money Than Those Who ... by DHPersonal on Friday August 16, 2019 @05:52PM (#20720073)
That would be how I would do it, because generally the coding I do is simple enough that I can trust Visual Studio Code to "Beautify" my finished work and insert all the tabs it needs to align things.
Re:Developers Who Use Spaces Make More Money Than Those Who ... by mixedCase on Friday August 16, 2019 @04:25PM (#20719371)
> The above doesn't work if the creator of the code uses a different tab width than I do.

Tab proponents suggest alignment to be done with spaces, and indentation to be done with tabs.

Re:Developers Who Use Spaces Make More Money Than Those Who ... by TotempaaltJ on Friday August 16, 2019 @06:19PM (#20720265)
Honestly the I've lost my appreciation for alignment. I've been writing it like this for a while now:

    some.method(
        param, param2, param3)
And it's no more or less easy to read.
Re:Developers Who Use Spaces Make More Money Than Those Who ... by qzygr on Friday August 16, 2019 @03:27PM (#20718784)

    some.method(param,
        param2, param3)