Key Points

 < Free Open Study > 

  • Tables provide an alternative to complicated logic and inheritance structures. If you find that you're confused by a program's logic or inheritance tree, ask yourself whether you could simplify by using a lookup table.

  • One key consideration in using a table is deciding how to access the table. You can access tables by using direct access, indexed access, or stair-step access.

  • Another key consideration in using a table is deciding what exactly to put into the table.

 < Free Open Study > 


Code Complete
Code Complete: A Practical Handbook of Software Construction, Second Edition
ISBN: 0735619670
EAN: 2147483647
Year: 2003
Pages: 334

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net