Mysterious Name

When a code element like a function, class or variable has a name that is obscure or difficult to understand. What you want instead is for name to clearly communicate what the code element does and how to use it.

Sources

  • This smell is included Martin Fowler's book "Refactoring", 2nd Edition

Back to All Code Smells