Code that is very similar to cargo pants, i.e. appears to have utility to the person writing it but is an embarrassment to all others, opening the developer (or wearer in the case of cargo pants) to justifiable ridicule.
Cyril thought creating a factory with a bunch of if/else statements based on type was a great idea, while the rest of the team just used Ninject, laughing at it his use of Cargo Code. And he did it in cargo pants. Nerd.
by Ryan Ceee February 20, 2014