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

You've moved the problem from the last to the first element though. Surely people would prefer to be able to do this

  SELECT
      a,
      b,
      c,
  FROM ...

?


The first element is modified less often than the last element. Often it's just an "id" column or something. Comma-first is a net win.


as mentioned elsewhere, i personally introduce a pad element to get fire and forget consistency

  SELECT 1 as pad
    , a
    , b


That's something where "what it makes the computer do" overrides "how nice it looks in text form" to me.




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

Search: