Loading ...
Sorry, an error occurred while loading the content.

[jslint] Re: Unexpected else after return

Expand Messages
  • douglascrockford
    ... I adopted the ones that made sense.
    Message 1 of 9 , Feb 28, 2012
    • 0 Attachment
      --- In jslint_com@yahoogroups.com, Erik Eckhardt <erik@...> wrote:

      > You may not wish to use llvm.org as a resource for coding standards, as the
      > same page suggests the use of early
      > exits<http://llvm.org/docs/CodingStandards.html#hl_earlyexit>
      > .

      I adopted the ones that made sense.
    • Martin Cooper
      ... Where can we find that list? It s important that we can know the rules up front, and not discover them only when JSLint complains. -- Martin Cooper
      Message 2 of 9 , Mar 3, 2012
      • 0 Attachment
        On Tue, Feb 28, 2012 at 6:15 PM, douglascrockford <douglas@...> wrote:
        > --- In jslint_com@yahoogroups.com, Erik Eckhardt <erik@...> wrote:
        >
        >> You may not wish to use llvm.org as a resource for coding standards, as the
        >> same page suggests the use of early
        >> exits<http://llvm.org/docs/CodingStandards.html#hl_earlyexit>
        >> .
        >
        > I adopted the ones that made sense.

        Where can we find that list? It's important that we can know the rules
        up front, and not discover them only when JSLint complains.

        --
        Martin Cooper


        > ------------------------------------
        >
        > Yahoo! Groups Links
        >
        >
        >
      Your message has been successfully submitted and would be delivered to recipients shortly.