Skip to content

Using protocols to standardize communications. #12

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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