Skip to content

Comment on The Ruby Style Guideparent

Comments

Oh, got you. I thought you were implying some conspiracy to kill conversation or something. Nvm.

Ah, yeah, no worries! I was not :)

It's actually an interesting thread. My take would have been to use comma when it's something we intend to modify, no comma when it's not. So intent is explicit.

Like:

    STATES = [
      :success,
      :error
    ]

    SUPPORTED_LANGUAGES = [
      "en",
      "es",
      "fr",
    ]
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.