On Thu, May 15, 2014 at 04:31:20PM +0200, Tomasz Nowicki wrote:
Well, we need to keep these strings somewhere :) IMO, this is simpler solution. What would be advantage of additional map function?
Nevermind, I got confused here.
I am validating generic->notify.type at the begin of function and return error in case of unknown value. I think there is no need to check that again.
Yes, you do :)