4 ms·
If your language/tooling and naming is bad then no, enums won't resolve it either: Is this a username or a state? create_user('ADMIN') Same for, could be a
by zepolen 4y ago
If your language/tooling and naming is bad then no, enums won't resolve it either:
Is this a username or a state?
create_user('ADMIN')
Same for, could be a variable for the admin username, can't be sure can you:
create_user(ADMIN)
Even this:
create_user(User.ADMIN)