I picked up a book in the library the other day. It is a book about computer science, something that I no longer read nowadays. But that day I somehow walked along the shelves of the computer section and a tittle just happen to catch my eye. I am glad I picked it up because in one of the pages I saw the word — “anti-patterns“.
Pattern (Photo credit: Natesh Ramasamy)
I knew this word all along. Legend tells of four awesome software developers, famously called “Gang of Four“, with their extensive experience in the industry, has found that the problems and their solutions in developing software are all different and unique, but nonetheless form patterns that can be distinguished and analysed. They document it and popularised the idea of “design patterns“, so that other software developers can freely benefit from their analysis of good solutions.
The idea of “anti-patterns” came later to analyse and document bad solutions that are commonly used. I quote from Wikipedia, anti-patterns are:
Some repeated pattern of action, process or structure that initially appears to be beneficial, but ultimately produces more bad consequences than beneficial results.