I saw a post from someone wanting more trans memes and took that as a sign to post one of mine.
Nah fam Rust has you covered:
enum Gender { Male, Female, Other(str&), };
That said my Rust knowledge is shit
“Please Input Your Gender”:
Girl' ; DROP TABLE GENDERS
Can we store gender on a quantum computer? Quibits.
Shouldn’t it be a float?
I don’t think so, but i would like to hear why a float would be better. Might change my opinion.
I think the reason why is because a float would be easier to store, while having enough possibilities for such data.
Is there some array that links a specific float value to a gender? Storing something like that as a float and having to look it up outside the object itself to determine it’s actual value seems like bad practice to mezcal but I’m not a developer by trade.
Strings are messy. I’m in favor of some covoluted struct or union.
They’re also too static. Need a user provided script to handle things like gender fluid.
Just call the variable isGender
why have to store it as data at all?
How else will they know how to spend their ad dollars!?
In the app I’m building contacts have an Enum Sex (Male, Female, Unknown) and an Integer Gender which is a foreign key to gender table
:3 thanx. Hav headpats (if you wan ofc)
Thanks for the headpats
3d vector gender
Float Gender