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
Tag: Coding principles
Coding Concepts - Cyclomatic Complexity
Cyclomatic what? Even spell check doesn’t recognise the word, but it’s a super useful software metric for understanding how your software works. Having read about it a few years ago, it apparent use seems to have deteriorated. I feel it’s a very valuable tool in a developer’s arsenal, and something that should be used in…
Coding Concepts - Reflection
Reflection is a term thrown around every now and again, but do you really know what it means? Why and when it should be used, and what are its main strengths?
Coding Concepts – Understanding Generics
I’ve been fascinated with Generics for a while, they can be quite hard to grasp, understanding why and where they should be used. The main motivation for the use of generics is to provide meaningful type constraints between members, Generics or Parametric Polymorphism, are used in most programming languages, and although they can be harder to understand, there are 5 main benefits to using them.