Key Points

  • 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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.144.56