your "flexible" solution voids all typesafety though
c
Czar
02/23/2018, 12:19 PM
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