Dictionary    Maps    Thesaurus    Translate    Advanced >   


Tip: Click Thesaurus above for synonyms. Also, follow synonym links within the dictionary to find definitions from other sources.

1. The Jargon File (version 4.4.7, 29 Dec 2003)
1TBS
 //, n.

    The ?One True Brace Style?; see indent style.


2. The Free On-line Dictionary of Computing (30 December 2018)
indent style
1TBS
Allman style

    Rules for formatting code to make it easier to
   visually match up the beginning and end of a block of
   statements, particularly one controlled by a control
   statement such as "if", "else", "for", "while", "do".  This
   becomes important with large, nested blocks of code.

   Indent styles vary in the placement of "" and "" with respect to
   the statement(s) they enclose and the controlling statement.

   The normal style is "Allman style", named after Eric Allman, a
   Berkeley hacker who wrote many BSD utilities in it.  It is
   sometimes called "BSD style".  It resembles normal indent style in
   Pascal and ALGOL.  Basic indent per level is eight or four
   spaces.  This is the only indent style to clearly associate the
   controlling statement and the beginning and the end of the block
   by aligning them vertically, which probably explains its
   widespread adoption.

    if (cond)
    
   	
    

   Other styles such as K&R style, Whitesmiths style and GNU
   style are either obsolete or should be avoided because they make
   it harder (much harder in some cases) to match braces with each
   other and with the control statement that controls them.

   Many related languages such as Perl offer the same choices while
   others, following B, eschew braces and rely entirely on relative
   indentation to express block structure.  In Python, braces can
   be used to override indentation.

   [Jargon File]

   (2014-09-24)


Common Misspellings >
Most Popular Searches: Define Misanthrope, Define Pulchritudinous, Define Happy, Define Veracity, Define Cornucopia, Define Almuerzo, Define Atresic, Define URL, Definitions Of Words, Definition Of Get Up, Definition Of Quid Pro Quo, Definition Of Irreconcilable Differences, Definition Of Word, Synonyms of Repetitive, Synonym Dictionary, Synonym Antonyms. See our main index and map index for more details.

©2011-2024 ZebraWords.com - Define Yourself - The Search for Meanings and Meaning Means I Mean. All content subject to terms and conditions as set out here. Contact Us, peruse our Privacy Policy