Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
boxed
12 months ago
|
parent
|
context
|
favorite
| on:
How about trailing commas in SQL?
Yea, and if you do trailing commas, "unless I change the last column, no problem". This is exactly the problem.
Supporting leading or trailing redundant comma are both good options. Not supporting either isn't.
croes
12 months ago
[–]
I rarely change the first column in a query but often the end especially while debugging. So a leading comma isn't the same problem to me.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Supporting leading or trailing redundant comma are both good options. Not supporting either isn't.