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

I'm looking at you, json. 👀

Follow

@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.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml