4 ms·
Linux kernel has lists, etc. that can be used as generic data structures. IMO they are good enough for most purposes.
by iambvk 14y ago
Linux kernel has lists, etc. that can be used as generic data structures. IMO they are good enough for most purposes.
- norswap 14y agoWell the trouble is really polymorphism, and I was actually thinking more about polymorphic data structure: i.e. data structures where the elements are required to have certain methods callable on them. I agree this is typical OO design and could be approached in other ways, but none I know of are satisfactory.