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

Re: [jslint] RE: switch / case

Expand Messages
  • Cheney, Edward A SSG RES USAR USARC
    Luke, ... There is no uniform length definition for a tab stop character. This is several problematic with consideration for text based documentation where
    Message 1 of 4 , Oct 29, 2010
    • 0 Attachment
      Luke,

      > I looked on the website for a reason and haven't found one...

      There is no uniform length definition for a tab stop character. This is several problematic with consideration for text based documentation where there are no formal meta-data descriptions for describing or formatting the supplied content. In this regard it is absolutely essential that white space is used in a consistent and uniform manner to prevent confusion in the presentation of such documentation. JavaScript is inherently text based at every step of its life including interpretation, and every good programmer should write timely and comprehensive documentation to describe their contributions and the description of functionality in any code base regardless of the accessibility to that documentation.

      For examples of rather complex text based documentation that has stood the tests of time read the RFCs, internet drafts, and other works published by the IETF. Text based documentation was the de facto universal standard 20 years ago, and it is still widely circulated in the world of computer science.

      In Crockford's defense he has discussed this in the third section of this page:
      http://javascript.crockford.com/code.html

      In your defense this reasoning is entirely absent from jslint.com/lint.html

      Thanks,

      Austin Cheney, CISSP
      http://prettydiff.com/
    Your message has been successfully submitted and would be delivered to recipients shortly.