6
JS96
3y

Do you also think this syntax is illegal or I'm the strange one?

Comments
  • 5
    It's made for VCS. If you add something to the end, you're changing only one line instead of two. Same for removing a line.
  • 11
    I hate it,
    But people seem to hate seeing useless diffs in GitHub more.
  • 5
    I get the usefulness, but it's ugly af. 😓
  • 3
    @C0D4 agreed. It's ugly but useful
  • 2
    @JS96

    what would be the alternative because I use that style?
  • 1
    I do this, and I like it.
  • 3
    The general rule is that the code must be comfortable for the reader's eyes, not for the VCS.

    However, this style may be appropriate for some kinds of projects.
  • 4
  • 1
    @JS96 To me the second picture is worse.
  • 0
    Languages should allow trailing commas everywhere. This would solve the problems for everyone.
Add Comment