[HN Gopher] Using CUE to unify IoT sensor data
___________________________________________________________________
Using CUE to unify IoT sensor data
Author : mvdan
Score : 55 points
Date : 2025-10-18 13:08 UTC (6 days ago)
(HTM) web link (aran.dev)
(TXT) w3m dump (aran.dev)
| IncreasePosts wrote:
| Nit: there's a link to cue.dev at the very end of the article, I
| would put that up top, along with a brief description of what it
| provides either at the very beginning or when cue is first
| mentioned.
| aranw wrote:
| Ahh yeah I forgot these two things! I've now added them when
| CUE is first mentioned in "The system architecture" section,
| although not at the very beginning as I was trying to give an
| overview of the project and why I started building my custom
| solution first
| davidarkemp2 wrote:
| That's a really nice article, thanks. And I can see how
| separating the validation logic from processing code is useful.
|
| What's not clear to me is why you chose this approach over
| existing OOP techniques, such as GoF Adapter Pattern, or even
| just interface implementation (as Go looses a lot of the ceremony
| of Java/C#).
___________________________________________________________________
(page generated 2025-10-24 23:01 UTC)