Cargo cult programming
Style of computer programming characterized by the ritual inclusion of code or program structures that serve no real purpose
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 symptomatic of a programmer not understanding either a bug they were attempting to solve or the apparent solution (compare shotgun debugging, deep magic).
Nº Q1027351 ★★
Uncommon · History
Cargo cult programming
Style of computer programming characterized by the ritual inclusion of code or program structures that serve no real purpose
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 symptomatic of a programmer not understanding either a bug they were attempting to solve or the apparent solution (compare shotgun debugging, deep magic).
From Wikipedia
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 symptomatic of a programmer not understanding either a bug they were attempting to solve or the apparent solution (compare shotgun debugging, deep magic). The term cargo cult programmer may apply when anyone inexperienced with the problem at hand copies some program code from one place to another with little understanding of how it works or whether it is required. Cargo cult programming can also refer to the practice of applying a design pattern or coding style blindly without understanding the reasons behind that design principle. Some examples are adding unnecessary comments to self-explanatory code, overzealous adherence to the conventions of a programming paradigm, or adding deletion code for objects that garbage collection automatically collects.
Text: Wikipédia, CC BY-SA 4.0. ·
Related cards
-
Imperative programming
Programming paradigm of directly specifying commands that affect program state
Nº Q275596 ★★★
Not listed
-
Computer
General-purpose device for performing arithmetic or logical operations
Nº Q68 ★★★★★
Not listed
-
A
Automata-based programming
Programming paradigm centred around finite state machines
Nº Q4056322 ★
Not listed
-
P
Prototype-based programming
Style of object-oriented programming
Nº Q180868 ★
Not listed
-
Decompiler
Computer program that transforms low-level code into high-level code
Nº Q913697 ★
Not listed
-
L
Lazy loading
Design pattern in computer programming
Nº Q6506159 ★
Not listed