Reputation
415
Top tag
Next privilege 500 Rep.
Access review queues
Badges
3 16
Impact
~14k people reached

  • 0 posts edited
  • 1 helpful flag
  • 27 votes cast
Jul
14
comment Approaches for storing and analysing large amounts of time-based data
@David still undecided(!) but I think I'll end up keeping it simple and just write everything as-is, rather than introduce complexity just to save some disk space. Now I just have to decide on the technology (I'm wondering if SQLite would be up to the job)...
Jul
13
awarded  Autobiographer
Jul
3
comment Approaches for storing and analysing large amounts of time-based data
@ratchetfreak, unfortunately not. I don't even know which ones will come back on each 100ms read.
Jul
2
asked Approaches for storing and analysing large amounts of time-based data
Apr
30
awarded  Nice Question
Apr
14
awarded  Yearling
Apr
14
asked Recording many data items and retrieving time-based snapshots
Apr
6
awarded  Popular Question
Mar
12
awarded  Notable Question
Dec
12
awarded  Popular Question
Nov
19
awarded  Popular Question
Nov
18
asked Plugin/modular architecture - deployment concerns
Sep
11
awarded  Popular Question
Jul
2
awarded  Curious
Apr
25
comment Inheritance/OO design question
Your approach came to mind when I first started this application. Rather than strictly adhering to the rule that a class should contain both data and behaviour, I wanted another class to be responsible for turning switches on and off. This seemed a more natural fit for my scenario - there are various dependencies involved in controlling a switch (e.g. writing to a serial port), and passing these to a whole load of "model" classes didn't feel quite right. Unfortunately the OO purists where I work won out, so I'm stuck with putting the behaviour in the class.
Apr
25
comment Inheritance/OO design question
I toyed with the idea of generics but it's likely there could be further levels of inheritance (e.g. something inheriting from TemperatureSwitch). While it's still possible, it does result in an explosion of <TConfig> parameters everywhere. Something to bear in mind though.
Apr
25
accepted Inheritance/OO design question
Apr
25
comment Inheritance/OO design question
@Euphoric see my comments on the answer from Geerten below.
Apr
25
asked Inheritance/OO design question
Mar
18
awarded  Tumbleweed