Skip to content

description does not match the antipattern #1

@BraindeadHermit

Description

@BraindeadHermit

in the NamingViolationExamples file there are some descriptions that do not actually correspond to the problem that indicates that specific antipattern, in fact if for example we look at the section dedicated to the examples for Method signature and comment are opposite, we see that the description provided is

"The name of an attribute suggests a single instance, while its type suggests that the attribute stores a collection of objects.",

while from the description of the antipattern present in the code example we find that in reality it is described as

"The method name or return type and comment contain antonyms"

the same problem is present in the section dedicated to Method name and return type are opposite.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions