HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by ailef | Hacker News Reader
Parent
Full thread
ailef
·
What is the reason for trailing commas and ands/ors?
View on HN
thomasmg
·
So that you can generate SQL more easily, and (for hand-written statements) so that you can re-order lines more easily. Many programming languages support trailing commas.
Reply on news.ycombinator.com