📝Cargo-cult programming

Cargo-cult programming is following techniques, patterns, and best-practices without understanding the reasoning behind them. This leads to overindulgence in technique that leads so that it causes more harm than good.

Examples are:

  • Interfaces. “Programming to interface is good—let’s create an interface for every concrete class.”
  • Factories, singletons
  • Any design patterns

Backlinks