TheBestLinks.com
TheBestLinks.com
Accumulate and fire, Programming, Thread (computer science), Object (computer ... Print friendly version | Tell a friend
 
Navigation
Search
Toolbox

Accumulate and fire

From TheBestLinks.com

"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


Related links


Top visited 0 of 0 links

[no links posted yet]

>> place link >>

Discussion

Last posted 0 of 0 messages

[no messages posted yet]

>> post message >>

Watch

You can add this article to your own "watchlist" and receive e-mail notification about all changes in this page.
 
   
Innovate it
This page was last modified 23:53, 29 Aug 2004.
  Content is available under GNU Free Documentation License 1.2.
Powered by MediaWiki