3 ms·
I don’t think that’s the gp’s point. Every call site has to decide whether the type argument is admin or user. After the change every call site has to decide
by gumby 5y ago
I don’t think that’s the gp’s point.
Every call site has to decide whether the type argument is admin or user. After the change every call site has to decide which of the two create functions to call. The differentiation already existed for a reason not explicit at the place where create* was defined (although in this trivial,example it’s obvious).