Matches in DBpedia 2015-10 for { <http://dbpedia.org/resource/Loop-switch_sequence> ?p ?o }
Showing triples 1 to 32 of
32
with 100 triples per page.
- Loop-switch_sequence abstract "A loop-switch sequence (also known as the for-case paradigm or Anti-Duff's Device) is a programming antipattern where a clear set of steps is implemented as a switch-within-a-loop. The loop-switch sequence is a specific derivative of spaghetti code.It is not necessarily an antipattern to use a switch statement within a loop—it is only considered incorrect when used to model a known sequence of steps. The most common example of the correct use of a switch within a loop is an inversion of control such as an event handler. In event handler loops, the sequence of events is not known at compile-time, so the repeated switch is both necessary and correct (see event-driven programming, event loop and event-driven finite state machine).Note that this is not a performance antipattern, though it may lead to an inconsequential performance penalty due to the lack of an unrolled loop. Rather, this is a clarity antipattern, as in any non-trivial example, it is much more difficult to decipher the intent and actual function of the code than the more straightforward refactored solution.".
- Loop-switch_sequence wikiPageID "7728641".
- Loop-switch_sequence wikiPageLength "3186".
- Loop-switch_sequence wikiPageOutDegree "12".
- Loop-switch_sequence wikiPageRevisionID "678135802".
- Loop-switch_sequence wikiPageWikiLink Anti-pattern.
- Loop-switch_sequence wikiPageWikiLink Antipattern.
- Loop-switch_sequence wikiPageWikiLink Category:Anti-patterns.
- Loop-switch_sequence wikiPageWikiLink Duffs_Device.
- Loop-switch_sequence wikiPageWikiLink Duffs_device.
- Loop-switch_sequence wikiPageWikiLink Event-driven_finite-state_machine.
- Loop-switch_sequence wikiPageWikiLink Event-driven_finite_state_machine.
- Loop-switch_sequence wikiPageWikiLink Event-driven_programming.
- Loop-switch_sequence wikiPageWikiLink Event_loop.
- Loop-switch_sequence wikiPageWikiLink Inversion_of_control.
- Loop-switch_sequence wikiPageWikiLink Loop_unrolling.
- Loop-switch_sequence wikiPageWikiLink Loop_unwinding.
- Loop-switch_sequence wikiPageWikiLink Observer_pattern.
- Loop-switch_sequence wikiPageWikiLink Spaghetti_code.
- Loop-switch_sequence wikiPageWikiLink Switch_statement.
- Loop-switch_sequence wikiPageWikiLinkText "Loop-switch sequence".
- Loop-switch_sequence hasPhotoCollection Loop-switch_sequence.
- Loop-switch_sequence subject Category:Anti-patterns.
- Loop-switch_sequence hypernym Antipattern.
- Loop-switch_sequence type Pattern.
- Loop-switch_sequence comment "A loop-switch sequence (also known as the for-case paradigm or Anti-Duff's Device) is a programming antipattern where a clear set of steps is implemented as a switch-within-a-loop. The loop-switch sequence is a specific derivative of spaghetti code.It is not necessarily an antipattern to use a switch statement within a loop—it is only considered incorrect when used to model a known sequence of steps.".
- Loop-switch_sequence label "Loop-switch sequence".
- Loop-switch_sequence sameAs m.026b498.
- Loop-switch_sequence sameAs Q391199.
- Loop-switch_sequence sameAs Q391199.
- Loop-switch_sequence wasDerivedFrom Loop-switch_sequence?oldid=678135802.
- Loop-switch_sequence isPrimaryTopicOf Loop-switch_sequence.