8418 shaares
200 private links
200 private links
Shift
is_active
to something more generic: astatus
field, so we can expand it down the line for other parts of the state space.Honestly, 80% of the time in these meetings I just tell people to either use an enum instead of a boolean or to make it more clear which data is events and which is state. I'm always right, it's always useful, and there's never that much fuss about it.