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

1997Re: [jslint] Style

Expand Messages
  • Erik Eckhardt
    Feb 28, 2011
    • 0 Attachment
      Douglas,

      That makes eminent sense. As a would-be writer myself, you're speaking my
      language. I appreciate the parallel. I'm sure others do, too.

      Erik

      On Mon, Feb 28, 2011 at 10:38 AM, Douglas Crockford
      <douglas@...>wrote:

      >
      >
      > The place to express yourself in programming is in the quality of
      > your ideas, and the efficiency of execution. The role of style is
      > the same as in literature. A great writer doesn't express himself
      > by putting the spaces before his commas instead of after, or by
      > putting extra spaces inside his parentheses. A great writer will
      > slavishly conform to some rules of style, and that in no way
      > constrains his power to express himself creatively. See for
      > example William Strunk's The Elements of Style [
      > http://www.crockford.com/wrrrld/style.html%5d.
      >
      > I think this applies to programming as well. Conforming to a
      > consistent style improves readability, and frees you to express
      > yourself in ways that matter. JSLint here plays the part of a
      > stern but benevolent editor, helping you to get the style right
      > so that you can focus your creative energy where it is most needed.
      >
      >
      >


      [Non-text portions of this message have been removed]
    • Show all 5 messages in this topic