Voodoo programming

Last updated

Voodoo programming refers to the practice of getting a program to produce desired output by using guesses, trial-and-error, cookbooks, copy-pasting from online resources, or similar techniques without truly understanding the underlying problem. This technique is similar to brute force approach on engineering: attempting finding a working solution by trial and error until something produces the desired results.

It may also refer to:

Cargo cult programming is a style of computer programming characterized by the ritual inclusion of code or program structures that serve no real purpose. Cargo cult programming is typically symptomatic of a programmer not understanding either a bug they were attempting to solve or the apparent solution. The term cargo cult programmer may apply when an unskilled or novice computer programmer copies some program code from one place to another with little or no understanding of how it works or whether it is required in its new position.

See also


Related Research Articles

An error is an action which is inaccurate or incorrect. In some usages, an error is synonymous with a mistake. In statistics, "error" refers to the difference between the value which has been computed and the correct value. An error could result in failure or in a deviation from the intended performance or behaviour.

Topography The study of the shape and features of the surface of the Earth and other observable astronomical objects

Topography is the study of the shape and features of land surfaces. The topography of an area could refer to the surface shapes and features themselves, or a description.

Lithic flake portion of rock removed from an objective piece by percussion or pressure

In archaeology, a lithic flake is a "portion of rock removed from an objective piece by percussion or pressure," and may also be referred to as a chip or spall, or collectively as debitage. The objective piece, or the rock being reduced by the removal of flakes, is known as a core. Once the proper tool stone has been selected, a percussor or pressure flaker is used to direct a sharp blow, or apply sufficient force, respectively, to the surface of the stone, often on the edge of the piece. The energy of this blow propagates through the material, often producing a Hertzian cone of force which causes the rock to fracture in a controllable fashion. Since cores are often struck on an edge with a suitable angle (x<90°) for flake propagation, the result is that only a portion of the Hertzian cone is created. The process continues as the flintknapper detaches the desired number of flakes from the core, which is marked with the negative scars of these removals. The surface area of the core which received the blows necessary for detaching the flakes is referred to as the striking platform.

Compression artifact noticeable distortion of media caused by the application of lossy data compression

A compression artifact is a noticeable distortion of media caused by the application of lossy compression. Lossy data compression involves discarding some of the media's data so that it becomes small enough to be stored within the desired disk space or transmitted (streamed) within the available bandwidth. If the compressor can not store enough data in the compressed version, the result is a loss of quality, or introduction of artifacts. The compression algorithm may not be intelligent enough to discriminate between distortions of little subjective importance and those objectionable to the user.

Trial and error is a fundamental method of problem solving. It is characterised by repeated, varied attempts which are continued until success, or until the practicer stops trying.

Control system system to control other devices using control loops

A control system manages, commands, directs, or regulates the behavior of other devices or systems using control loops. It can range from a single home heating controller using a thermostat controlling a domestic boiler to large Industrial control systems which are used for controlling processes or machines.

An approximation is anything that is intentionally similar but not exactly equal to something else.

Selection bias is the bias introduced by the selection of individuals, groups or data for analysis in such a way that proper randomization is not achieved, thereby ensuring that the sample obtained is not representative of the population intended to be analyzed. It is sometimes referred to as the selection effect. The phrase "selection bias" most often refers to the distortion of a statistical analysis, resulting from the method of collecting samples. If the selection bias is not taken into account, then some conclusions of the study may be false.

Anamorphic widescreen is a process by which a comparatively wide widescreen image is horizontally compressed to fit into a storage medium with a narrower aspect ratio, reducing the horizontal resolution of the image while keeping its full original vertical resolution. Compatible play-back equipment can then expand the horizontal dimension to show the original widescreen image. This is typically used to allow one to store widescreen images on a medium that was originally intended for a narrower ratio, while using as much of the frame – and therefore recording as much detail – as possible.

Proof of concept (PoC) is a realization of a certain method or idea in order to demonstrate its feasibility, or a demonstration in principle with the aim of verifying that some concept or theory has practical potential. A proof of concept. is usually small and may or may not be complete.

Trial balance list of all the General ledger accounts contained in the ledger of a business

A trial balance is a list of all the general ledger accounts contained in the ledger of a business. This list will contain the name of each nominal ledger account and the value of that nominal ledger balance. Each nominal ledger account will hold either a debit balance or a credit balance. The debit balance values will be listed in the debit column of the trial balance and the credit value balance will be listed in the credit column. The trading profit and loss statement and balance sheet and other financial reports can then be produced using the ledger accounts listed on the same balance.

<i>The Seven Sins of Memory</i> book by Daniel Schacter

The Seven Sins of Memory: How the Mind Forgets and Remembers is a book (ISBN 0-618-21919-6) by Daniel Schacter, former chair of Harvard University's Psychology Department and a leading memory researcher.

A user error is an error made by the human user of a complex system, usually a computer system, in interacting with it. Although the term is sometimes used by human–computer interaction practitioners, the more formal human error term is used in the context of human reliability.

Cognitive robotics is concerned with endowing a robot with intelligent behavior by providing it with a processing architecture that will allow it to learn and reason about how to behave in response to complex goals in a complex world. Cognitive robotics may be considered the engineering branch of embodied cognitive science and embodied embedded cognition.

An open-access poll is a type of opinion poll in which a nonprobability sample of participants self-select into participation. The term includes call-in, mail-in, and some online polls.

The Confrontation Clause of the Sixth Amendment to the United States Constitution provides that "in all criminal prosecutions, the accused shall enjoy the right…to be confronted with the witnesses against him." Generally, the right is to have a face-to-face confrontation with witnesses who are offering testimonial evidence against the accused in the form of cross-examination during a trial. The Fourteenth Amendment makes the right to confrontation applicable to the states and not just the federal government. The right only applies to criminal prosecutions, not civil cases or other proceedings.

Ariadne's thread, named for the legend of Ariadne, is the solving of a problem with multiple apparent means of proceeding - such as a physical maze, a logic puzzle, or an ethical dilemma - through an exhaustive application of logic to all available routes. It is the particular method used that is able to follow completely through to trace steps or take point by point a series of found truths in a contingent, ordered search that reaches an end position. This process can take the form of a mental record, a physical marking, or even a philosophical debate; it is the process itself that assumes the name.

Area navigation Aircraft navigation method

Area navigation is a method of instrument flight rules (IFR) navigation that allows an aircraft to choose any course within a network of navigation beacons, rather than navigate directly to and from the beacons. This can conserve flight distance, reduce congestion, and allow flights into airports without beacons. Area navigation used to be called "random navigation", hence the acronym RNAV.

Apraxia of speech (AOS) is an acquired oral motor speech disorder affecting an individual's ability to translate conscious speech plans into motor plans, which results in limited and difficult speech ability. By the definition of apraxia, AOS affects volitional movement patterns, however AOS usually also affects automatic speech.

Recrystallization (chemistry) separation process

In chemistry, recrystallization is a technique used to purify chemicals. By dissolving both impurities and a compound in an appropriate solvent, either the desired compound or impurities can be removed from the solution, leaving the other behind. It is named for the crystals often formed when the compound precipitates out. Alternatively, recrystallization can refer to the natural growth of larger ice crystals at the expense of smaller ones.