Skip to content

Results: simplify the Interface : ResultHandler #39

@chalkie666

Description

@chalkie666

An idea from Dscho:
"Continue the (good!) idea of ResultHandler, but simplify it first.
eg: Why does every method in ResultHandler repeat that it handles something?"

I see what he means:
void handleWarning(Warning warning);
could just be
void warning(Warning warning);
but maybe that's too little information as method names should be verbs...

so maybe this one is just a matter of taste...
processWarning
dealWithWarning
showWarning
useWarning

or maybe I miss the point...?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions