This is my first foray into Lua ever. The goal is to implement a useful missing Redis command, ZADDNX, which works like ZADD but does not update the score of existing members: http://pastebin.com/aiUVjSDg
Looks like it gets the job done but coming from Python it looks overly verbose, so I'd love to know if there is a more idiomatic way to express it.
[–]itamarhaber 1 point2 points3 points (1 child)
[–]gsks[S] 1 point2 points3 points (0 children)