Boilerplate code  From Wikipedia, the free encyclopedia Jump to:
navigation, search  In computer programming, boilerplate code or
boilerplate is the sections of code that have to be included in
many places with little or no alteration. It is often used when
referring to languages that are considered verbose, i.e. the
programmer must write a lot of code to do minimal jobs.  The
need for boilerplate can be reduced through high-level
mechanisms such as metaprogramming (which has the computer
automatically write the needed boilerplate text), convention
over configuration (which provides good default values, reducing
the need to specify program details in every project) and model-
driven engineering (which uses models and model-to-code
generators, eliminating the need for boilerplate manual code).
A related term is bookkeeping code, referring to code that is
not part of the business logic but is interleaved with it in
order to keep data structures updated or handle secondary
aspects of the program.   One form of b