Code Complete: A Practical Handbook of Software Construction, Second Edition

 < Free Open Study > 

  • Working with specific data types means remembering many individual rules for each type. Use this chapter's checklist to make sure that you've considered the common problems.

  • Creating your own types makes your programs easier to modify and more self-documenting, if your language supports that capability.

  • When you create a simple type using typedef or its equivalent, consider whether you should be creating a new class instead.

 < Free Open Study > 

Категории