Accumulate_and_fire Accumulate_and_fire

Accumulate and fire - Definition and Overview

Related Words: Advance, Aggregate, Assemble, Balloon, Band, Batch, Bloat, Bond, Boom, Bracket, Breed, Bridge, Bulk

"Accumulate and fire" is a programming style in which the program sets a number of global variables or objects, then invokes subprograms or methods which operate on the globally set values.

This is considered problematic because:

  • programmers can forget to set a value before invoking
  • the state can change in a moment between setting and invoking, particularly when programming with threading.

Accumulate and fire is considered an example of an anti-pattern.

See also: Petri net

Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.