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

Tabs

Expand Messages
  • Douglas Crockford
    Tabs are problematic largely due to a lack of standardization. They are unnecessary, but still in significant use. JSLint now treats a tab as equivalent to the
    Message 1 of 1 , May 29 6:58 AM
    • 0 Attachment
      Tabs are problematic largely due to a lack of standardization. They
      are unnecessary, but still in significant use.

      JSLint now treats a tab as equivalent to the same number of indent
      spaces. This will expose some mixing of tabs and spaces errors. If
      tabs are used somewhat consistently, JSLint will not complain.

      It could be argued that JSLint should completely reject any program
      text containing tabs. I am not ready to take that step.
    Your message has been successfully submitted and would be delivered to recipients shortly.