fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

binaryphile

Trailing commas on list-shaped things has become my favorite unsung hero of .

I'm looking at you, json. 👀

@binaryphile Having been on a #golang project at work for several years, I always suspected there was at least 1 good thing about the language and I just hadn't found it yet 😂

@binaryphile What's interesting, modern JS does support trailing commas, but this change somehow never made its way into the JSON spec.

@binaryphile I kind of like having that in C# but, if it's not a temporary list, I always remove the last comma. Commas being whitespace in Clojure is my favorite comma-based design decision.