Ask HN: Do you prefer tailing or leading comma?
1 points| aabbcc1241 | 1 year ago
I was the practise of using leading comma in Elm, where we put a comma at the beginning of each line, when writing elements of a list.
I'm also using leading comma (and leading and/or) when writing sql query.
For example:
select
user.id
, user.username
from user
where user.ban_time is null
and user.activate_time is not null
compressedgas|1 year ago
dsq|1 year ago
vouaobrasil|1 year ago
solardev|1 year ago
unknown|1 year ago
[deleted]
unknown|1 year ago
[deleted]