• @[email protected]
    link
    fedilink
    11 year ago

    Semicolons are optional in JavaScript unless you are combining multiple statements on a single line, which is generally not something you should be doing anyway.

    I avoid them whenever possible. It encourages people to write poorly formatted code. But then I’m a python dev so I tend to be opinionated when it comes to whitespace.

    • @folkrav
      link
      2
      edit-2
      11 months ago

      deleted by creator

      • Aa!
        link
        11 year ago

        This is one of the things I like most about Go. Formatting is already defined and handled by go fmt. Takes out all format arguments before they start.