My advice on implementing stuff in C:
My advice on implementing stuff in C:
Posted Oct 21, 2010 19:02 UTC (Thu) by ccurtis (guest, #49713)In reply to: My advice on implementing stuff in C: by dskoll
Parent article: Russell: On C Library Implementation
Virtual Base Classes. A real WTF if ever there was one.
I've used a virtual base class to serialize access to a piece of hardware with software fallback. Allows for easy rate-limiting when the amount of queries might exceed the hardware precision and reading the device is (potentially) slow ...
