This is Redis’s dynamic dispatching of command function calling. Redis makes this clean and simple by encapsulating commands and giving all the actual underlying command functions the same function signature, taking our client object, which carries the payload of our command’s arguments.
Some say there’s too much “not invented here” going on in Redis. Salvatore is saying he’s having fun while building an useful tool.
Original title and link: Redis Commands Dissected: GET and SET (NoSQL databases © myNoSQL)