Skip to content

EO violation in Wire? #70

@fabriciofx

Description

@fabriciofx

Into the Wire interface we have a method Input send(Input input) throws IOException, but it isn't a EO violation? In EO vol 1, Yegor says "verb methods should return nothing (void)" and send() is a verb. So, should we rename it? My suggestion: Input response(Input request) throws IOException.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions