How do you design a hybrid object? Or maybe better put, how do you evaluate the design of an object to know if it’s “right”?
I wanted to see if anyone has experience to have an informed opinion on this. Valentin, maybe you can clue us in on some of the design philosophy of Open Hybrid.
Here’s what I mean. Suppose I want to create a hybrid kitchen timer. I can foresee at least a couple of common use cases: level triggered operation, and edge triggered operation. E.g. “I want my slow-cooker to stay on while the timer is running” (level triggered), versus “I want to get a push notification when my timer finishes” (edge triggered). Accordingly, I could create an IO Point that writes out “1.0” while the timer is running, or an IO Point that writes a brief “1.0” pulse when the timer finishes. I could even create both.
- My common sense tells me “Create both, it would be the most useful that way.”
- My design sense tells me “Keep it simple. Pick one or the other, not both.”
- My engineering sense tells “Create the level trigger only. The edge trigger should be derivable from it somehow.”
But this is just one example. More generally, how can I decide which of a number of interfaces would be most useful?
created
last reply
Feb '16- 6
replies
- 3.1k
views
- 4
users
