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:

    Single acts of tyranny may be ascribed to the accidental opinion of a day; but a series of oppressions ... too plainly prove a deliberate, systematical plan of reducing us to slavery.
    Thomas Jefferson (1743–1826)