by huhtenberg · 14y ago · 0 comments
+-----------------------------------------------------------+
| |
| C has support for dynamic typing (in the form of void*) |
| |
+-----------------------------------------------------------+
A quotable thinker.I find very wise to avoid it when it is not necessary or when there is an equivalent safer alternative (e.g C++ templates if available and applicable).
In this case however, is not only completely fine but I don't think there is a better way to do it.
BTW, my favourite phrase of the article:
"“… Why do this?” Because I can, of course."
The truly spirit of a hacker :)