Relative Content

Tag Archive for code-smell

Should the method describe its side effects? [duplicate]

N7: Names Should Describe Side-Effects
Names should describe everything that a function, variable, or class is or does.
Don’t hide side effects with a name. Don’t use a simple verb to describe a function that does more than just that simple action. For example, consider this code from TestNG:

Should the method describe its side effects? [duplicate]

N7: Names Should Describe Side-Effects
Names should describe everything that a function, variable, or class is or does.
Don’t hide side effects with a name. Don’t use a simple verb to describe a function that does more than just that simple action. For example, consider this code from TestNG:

Should the method describe its side effects? [duplicate]

N7: Names Should Describe Side-Effects
Names should describe everything that a function, variable, or class is or does.
Don’t hide side effects with a name. Don’t use a simple verb to describe a function that does more than just that simple action. For example, consider this code from TestNG:

Should the method describe its side effects? [duplicate]

N7: Names Should Describe Side-Effects
Names should describe everything that a function, variable, or class is or does.
Don’t hide side effects with a name. Don’t use a simple verb to describe a function that does more than just that simple action. For example, consider this code from TestNG: