documentation:coding_practices
=>  Releases

Current version
Git/Latestdiff: 1.5.6

Latest Snapshots
Produced after each commit or rebase to new upstream version

GIT
RSBAC source code, can be unstable sometimes

=>  Events

No events planned

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
documentation:coding_practices [2005/11/22 12:50]
kang spelling
documentation:coding_practices [2005/11/22 13:12]
kang spelling
Line 136: Line 136:
  
 Refactoring is the process of taking repetitive code out of the current function and to make a new one. All code should not be refactorized,​ however, so don't over-factorize,​ but it is usually a good thing: Refactoring is the process of taking repetitive code out of the current function and to make a new one. All code should not be refactorized,​ however, so don't over-factorize,​ but it is usually a good thing:
-  * Reduce ​the code size, the number of lines to read, ...+  * Reduces ​the code size, the number of lines to read, ...
   * Make things easy: changes are only in __one__ place instead of 10 (and forgetting the 11th)   * Make things easy: changes are only in __one__ place instead of 10 (and forgetting the 11th)
   * People who didn't write the code do not know where the code has been duplicated. They will probably miss it.   * People who didn't write the code do not know where the code has been duplicated. They will probably miss it.
-  * It enhance ​your coding speed ! Less typing, less checking !+  * It enhance ​syour coding speed ! Less typing, less checking !
  
  
//
documentation/coding_practices.txt · Last modified: 2006/05/02 15:40 (external edit)

documentation/coding_practices.txt · Last modified: 2006/05/02 15:40 (external edit)
This website is kindly hosted by m-privacy