2 ms·
Very likely, he took the switch out of a central function that's only written once and placed it into a few of them scattered through the code. With time, some
by marcosdumay 5y ago
Very likely, he took the switch out of a central function that's only written once and placed it into a few of them scattered through the code.
With time, somebody will probably encapsulate his code in a flexible "createUser" function on an upper level, so the switches can all come back into a single place.