Code Bloat - Reducing Bloat

Reducing Bloat

Some techniques for reducing code bloat include:

  • Refactoring commonly-used code sequence into a subroutine, and calling that subroutine from several locations, rather than copy and pasting the code at each of those locations.
  • Re-using subroutines that have already been written (perhaps with additional parameters), rather than re-writing them again from scratch as a new routine.

Read more about this topic:  Code Bloat

Famous quotes containing the word reducing:

    It is the American vice, the democratic disease which expresses its tyranny by reducing everything unique to the level of the herd.
    Henry Miller (1891–1980)