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.
If a default install of an IDE (including vIM) will screw up your code.... you might consider rethinking your strategy. :-)