|
|
|
|
|
by Piezoid
1414 days ago
|
|
Code reuse is achievable by (mis)using the preprocessor system. It is possible to build a somewhat usable API, even for intrusive data structures. (eg. the linux kernel and klib[1]) I do agree that generics are required for modern programming, but for some, the cost of complexity of modern languages (compared to C) and the importance of compatibility seem to outweigh the benefits. [1]: http://attractivechaos.github.io/klib |
|