Changes between Version 7 and Version 8 of Dev_Guidelines


Ignore:
Timestamp:
Jan 7, 2007 1:28:23 PM (6 years ago)
Author:
thomasb
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Dev_Guidelines

    v7 v8  
    7575{{{ 
    7676function foo_bar($aa, $bb) 
    77   { 
     77{ 
    7878  $out = ''; 
    7979 
    8080  if ($aa == 1 || $aa > 10) 
    81     { 
     81  { 
    8282    $out .= "Case one\n"; 
    8383    write_log("Foo: $aa"); 
    84     } 
     84  } 
    8585 
    8686  for ($i=0; $i < $bb; $i++) 
     
    8888 
    8989  return $out; 
    90   } 
     90} 
    9191}}} 
     92 
     93''The bracket indentation of the existing code differs from this example but I guess we should move towards this more common indentation style.'' 
    9294 
    9395Bad code: