Mibio

Solo disponible en BuenasTareas
  • Páginas : 6 (1321 palabras )
  • Descarga(s) : 0
  • Publicado : 12 de marzo de 2011
Leer documento completo
Vista previa del texto
C++ Coding Standard
Last Modified: 2008-03-01 Author: Todd Hoff tmh@possibility.com / http://www.possibility.com/Tmh Using this Standard. If you want to make a local copy of this standard and use it as your own you are perfectly free to do so. That's why I made it! If you find any errors or make any improvements please email me the changes so I can merge them in. I also have a programmingblog at http://radio.weblogs.com/0103955/categories/stupidHumanProgra mming/ that is accidently interesting at times, as is my wiki at http://www.possibility.com/epowiki/Wiki.jsp.

Contents
Introduction ...............................................................................................................................................5 Standardization is Important................................................................................................................5 Standards Enforcement .........................................................................................................................5 Accepting an Idea .................................................................................................................................6 6Phases of a Project .............................................................................................................................6 Flow Chart for Project Decision Making .............................................................................................6 Leadership............................................................................................................................................7 Resources- Take a Look! ..........................................................................................................................8 General .................................................................................................................................................8 Book Recommendations.......................................................................................................................8 Names ........................................................................................................................................................9 Make Names Fit ...................................................................................................................................9Include Units in Names ......................................................................................................................10 No All Upper Case Abbreviations ......................................................................................................10 Class Names.......................................................................................................................................10 Class Library Names ..........................................................................................................................11 Method Names ...................................................................................................................................11 Class Attribute Names........................................................................................................................11 Method Argument Names ..................................................................................................................12 Variable Names on the Stack .............................................................................................................12 Pointer Variables................................................................................................................................13 Reference Variables and Functions Returning References.................................................................13 Global Variables .................................................................................................................................14 Global Constants...
tracking img