Skip to content

Using protocols to standardize communications. #12

@MatthieuDartiailh

Description

@MatthieuDartiailh

This point was evoked by @p3trus as a way to avoid code duplication. I am not sure what we should do about it.
With the current system we could quite easily consider having a protocol kwarg for features which would be used for default getting, setting and operation setting behavior, which would allow to have multiple protocols by instruments.If a bunch of feature need the same get/set customization we could abstract it in a protocol. The question is would it truly make things easier ? Should it be limited to Feature or also include Actions ?
I am interested in any opinion on this one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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