Opentopia Directory Encyclopedia Tools

Accumulate and fire

Encyclopedia : A : AC : ACC : Accumulate and fire



 

"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:

Some older programming languages make this style hard to avoid: this is the only way of passing arguments to a paragraph in COBOL.

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

See also

 


From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.


Search Titles
0123456789
ABCDEFGHIJ
KLMNOPQRST
UVWXYZ?

E-mail this article to:

Personal Message: