Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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
  )


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: