Skip to content

Is it worthwhile to separate Diffable and Writeable? #8

@mvdan

Description

@mvdan

As I was reading the TODO: better name on DiffWriteable, I thought to myself - is there a good reason to separate the interfaces?

Unifying them would fix the naming issue, and make the simple use of the API simpler.

On the other hand, there's something I don't like about a "diffable" interface concerning io.Writer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs thoughtunclear what the right path forward is

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions