A reminder about free/open source software for new ppl:
Twitter is a big corporation that has many programmers, designers, user support ppl, etc. Mastodon doesn't.
We just have average people doing this on the side, often in their underpants at 2 a.m., on a volunteer basis/for donations. It's up to US to help improve Mastodon.
To help out:
https://discourse.joinmastodon.org/
https://github.com/tootsuite/mastodon
https://www.patreon.com/mastodon
#programming
I feel sometimes it's useful to have a "Binary Enum" = basically a boolean where the two values have names other than True and False.
The special case binary enum can then support the Not operator to flip to other side. This means you don't have to write boilerplate code like
if e = A ? B : A;
and can just say
e = ! e