Hacker News new | ask | show | jobs
by ZeroClickOk 1902 days ago
You can easily add remove columns like this, just removing the entire line. If you add the comma the traditional way, you will change 2 lines (the end of previous line with comma, and the new line). It's nice for maintenance and diff'ing
1 comments

That is only true of the first or last line.

  col1,
  col2,
  col3

  col1
  ,col2
  ,col3
You can remove col2 from either of those examples and have valid syntax.