 As is often the case with anti-patterns, there exists specific scenarios where magic strings are a correct solution for an implementation.Examples include cheat codes and Easter eggs.Furthermore, there are cases when users invent magic strings, and systems that have not coded to accept them can produce unexpected results such as missing license plates.