Skip to main content

Timeline for Simple key-value store in C, take 2

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
Sep 22, 2014 at 0:09 comment added user14393 Incidentally, this sort of dilemma (do I provide robust functionality, or do I provide one that is simpler and easier to implement) is one of the reasons I strongly dislike C as compared to C++.
Sep 22, 2014 at 0:05 comment added user14393 @Dagg: That is true. But if one desires that a user not have to write their own wrapper, that drawback can be mitigated in a number of ways: e.g. provide KVSstrcmp that forwards to strcmp, or provide two constructors one for each signature.
Sep 21, 2014 at 22:55 comment added Dagg But then I can't simply pass in strcmp, unless I cast compare to that function signature (which does seem to work under gcc but I imagine it's just asking for trouble).
Sep 21, 2014 at 22:10 history answered user14393 CC BY-SA 3.0