Cargo-cult programming is the act of copying something without understanding how it works or even whether or not it's required.
Typically it involves the ritual inclusion of code which does not need to exist because the author is copying something else they saw (or literally copying and pasting from Stack Overflow). The essence of the original article is the systematic _exclusion_ of code which does not need to exist -- that is the opposite of cargo-culting.
All of the guidelines exist for reasons which are well explained in the article. It's basically a guide that teaches you how to avoid cargo-culting.
If you're complaining that the guide encourages functional programming approaches, it's useful to admit that functional programming is an important capability of JavaScript (evidenced by the fact that functional utilities are built-in to the language).
ericelliott|8 years ago
Typically it involves the ritual inclusion of code which does not need to exist because the author is copying something else they saw (or literally copying and pasting from Stack Overflow). The essence of the original article is the systematic _exclusion_ of code which does not need to exist -- that is the opposite of cargo-culting.
All of the guidelines exist for reasons which are well explained in the article. It's basically a guide that teaches you how to avoid cargo-culting.
If you're complaining that the guide encourages functional programming approaches, it's useful to admit that functional programming is an important capability of JavaScript (evidenced by the fact that functional utilities are built-in to the language).