Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects simply to a non-technical, business audience. Over…
Voodoo programming refers to the practice of coding according to superstition, guesses, or anything other than logic. Voodoo programming is a rather broad term for situations where a programmer uses a piece of code without truly understanding how it works.
This programming technique may also be called wizardry, sorcery or black magic, and its practitioners may be referred to as witch doctors.
The term voodoo programming implies a lack of knowledge on the part of the programmer or developer. When a programmer first starts out, he or she may lack understanding of the deeper principles used to code a system. That said, these individuals might rely on voodoo programming, or cutting and pasting from books or other sources, leaving them unable to understand and explain what each and every line of code means. More experienced programmers see this as a dangerous practice because it can make reverse engineering or even common debugging more difficult.
The use of the term voodoo programming also creates an interesting contrast that reveals more about the primary principles and values of developers. Among these, the use of logic is key in creating and testing code, where the best minds involved in a project benefit from knowledge of the deeper underlying logic at work in a system.
Techopedia’s editorial policy is centered on delivering thoroughly researched, accurate, and unbiased content. We uphold strict sourcing standards, and each page undergoes diligent review by our team of top technology experts and seasoned editors. This process ensures the integrity, relevance, and value of our content for our readers.
Margaret is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages.
What is Pascal Case Pascal case, or PascalCase, is a variable naming convention in programming in which the first letter...
Vangie BealTechnology Expert
What is a Programming Hook? A programming hook is a feature that allows developers to insert custom code into specific...
Marshall GunnellIT & Cybersecurity Expert
What Does Julia Programming Language Mean? Julia is an open source high-level, high-performance dynamic programming language designed at MIT for...
Margaret RouseTechnology Expert
Trending NewsLatest GuidesReviewsTerm of the Day