Changes between Version 7 and Version 8 of Dev_Guidelines
- Timestamp:
- Jan 7, 2007 1:28:23 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Dev_Guidelines
v7 v8 75 75 {{{ 76 76 function foo_bar($aa, $bb) 77 {77 { 78 78 $out = ''; 79 79 80 80 if ($aa == 1 || $aa > 10) 81 {81 { 82 82 $out .= "Case one\n"; 83 83 write_log("Foo: $aa"); 84 }84 } 85 85 86 86 for ($i=0; $i < $bb; $i++) … … 88 88 89 89 return $out; 90 }90 } 91 91 }}} 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.'' 92 94 93 95 Bad code:
