Hacker News new | ask | show | jobs
by hartator 2556 days ago
I don’t fully get your point. There is no official style guideline for Ruby.
1 comments

I'm not sure what your point is either. Mine was "oh, there's a website now; they must have been reviewing old issues to prepare for the launch." There is no "official" style guide, you're 100% right, but I'm not sure what that has to do with this.
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",
    ]