logo
Contato | Sobre...        
rebarba rebarba

Rodrigo Strauss :: Blog


Programando caças a jato em C++
http://www.research.att.com/~bs/JSF-AV-rules.pdf?

Em 19/02/2008 06:07, por Rodrigo Strauss


  
 
 
Comentários
Wanderley Caloni | website | em 19/02/2008 | #
Bem escrito o documento! Selecionei algumas preferidas que concordo e procuro usar:

- Any one function (or method) will contain no more than 200 logical source lines of code (L-SLOCs).
- Minimize unnecessary dependencies.
- The public, protected, and private sections of a class will be declared in that order (the public section is declared before the protected section which is declared before the private section).
- Programmers should not attempt to prematurely optimize code.

"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil."
Knuth, Donald

[]s
rebarba rebarba
  ::::