The function that does all the work is 5 lines and then it works for any resource created from Init/Destroy function pair (a very common practice in C libraries), that's a hideous amount of code to you?
With your experience, how would you write a general solution for this problem?
No comments yet.