your "flexible" solution voids all typesafety thou...
# codingconventions
k
your "flexible" solution voids all typesafety though
c
yup, that's why I wrote that for the described situation OP's solution is better than mine. I also wrote arguably. I don't know what else I could've done to avoid your snarky remark