Skip to content

Should record definitions be moved out of impl and into clj-bots.gpio ns? #2

Description

@metasoarous

My inclination would have been to do so, and leave only the nuts and bolts functions (fopen, fclose, keyword-to-state, etc) in the impl ns. My thought on this is that it would be nice to have a constructor function which either had an :impl arg, or looked for some *default-implementation* var (along the lines of the core.matrix set-current-implementation function). We could of course keep the gpio lib more bare bones, and leave these sort of niceties to the BBB and Pi specific libraries, but then we'd potentially be implementing the same stuff twice (assuming we or others get to Pi).

Welcome your thoughts on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions