Meaningful Names – Meaningful Distinctions

If we don’t give enough thought to the names we use, our code can become more difficult to understand because it’s unclear who does what. Different variables that seem to be the same In some cases, our code can be hard to understand because we don’t make meaningful distinctions when choosing names, take the following…

Continue reading

Meaningful Names – Avoid Disinformation

Usually the main problem with code is that it can be hard to understand. Most of the time it’s hard to grasp what the code does because we don’t have enough information readily available. In other cases, the problem is that the code lies to us. It lies because it’s giving us information that simply…

Continue reading

Meaningful Names – Intention Revealing Names

In your code, the names you choose should tell anyone reading it what you intend to do with that class, function or variable. You shouldn’t rely on comments (more about this in a future post) to explain what your code does. The importance of declaring your intention Code should be easy to read. Good code is easy…

Continue reading