Dummy code

Dummy code

In computer programming, dummy code is inserted in a program skeleton to simulate processing and avoid compilation error messages. It may involve empty function declarations, or functions that return a correct result only for a simple test case where the expected response of the code is known. Program skeletons with dummy code resemble pseudocode, but allow parsing, compilation and testing of the code. Dummy code facilitates a top-down design approach, where a partially-functional system with complete high-level structures is designed and coded, and this system is then expanded to fulfill the requirements for the project to a successively higher level of detail.

In object-oriented programming, dummy code corresponds to an Abstract method.

See also

* Pseudocode


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Dummy — may refer to: Military dummy: dummy round a cartridge that is inert, i.e. contains neither primer nor gunpowder decoy fake military equipment intended to deceive the enemy Crash test dummy, a full scale replica of a human being, weighted and… …   Wikipedia

  • Dummy CUSIP Number — A temporary identification number attached to a security by a company until the official CUSIP number is assigned. Committee on Uniform Securities Identification Procedures (CUSIP) numbers identify securities when recording buy and sell orders. A …   Investment dictionary

  • Breaking the Magician's Code: Magic's Biggest Secrets Finally Revealed — Title card from the first episode. Subsequent episodes had a number after REVEALED. Format Reality Documentary …   Wikipedia

  • Now Who's the Dummy? — Now Who s the Dummy King of the Hill episode Directed by Dominic Polcino Written by Johnny Hardwick Production code 5ABE …   Wikipedia

  • Error-correcting code — Dieser Artikel oder Abschnitt bedarf einer Überarbeitung. Näheres ist auf der Diskussionsseite angegeben. Hilf mit, ihn zu verbessern, und entferne anschließend diese Markierung. Fehlerkorrekturverfahren (englisch: Error Correction Code, kurz… …   Deutsch Wikipedia

  • Error Detecting Code — Dieser Artikel oder Abschnitt bedarf einer Überarbeitung. Näheres ist auf der Diskussionsseite angegeben. Hilf mit, ihn zu verbessern, und entferne anschließend diese Markierung. Fehlerkorrekturverfahren (englisch: Error Correction Code, kurz… …   Deutsch Wikipedia

  • Skeleton (computer programming) — Skeleton programming is a style of computer programming based on simple high level program structures and so called dummy code. Program skeletons resemble pseudocode, but allow parsing, compilation and testing of the code. Dummy code is inserted… …   Wikipedia

  • Pseudocode — is a compact and informal high level description of a computer programming algorithm that uses the structural conventions of some programming language, but is intended for human reading rather than machine reading. Pseudo code typically omits… …   Wikipedia

  • Mock object — In object oriented programming, mock objects are simulated objects that mimic the behavior of real objects in controlled ways. A computer programmer typically creates a mock object to test the behavior of some other object, in much the same way… …   Wikipedia

  • Skeleton (computer science) — Skeleton programming is a style of computer programming based on simple high level program structures and dummy code. Program skeletons resemble pseudocode, but allows parsing, compilation and testing of the code. Skeleton programming facilitates …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”