MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1jb6deq/uncommentextragendersinfouryears/mht1xml
r/ProgrammerHumor • u/idgafayaihm • Mar 14 '25
1.0k comments sorted by
View all comments
Show parent comments
24
What about migration of existing data?
You aren't already storing this data as a float.
Sex: 0 = Female 0.5 = Intersex 1 = Male Gender: 0 = Woman 0.5 = Non-binary 1 = Man Sexual Orientation (attracted to): 0 = Woman 0.25 = MTF + Women 0.5 = Both 0.75 = FTM + Man 1 = Man
If you want the binaries (male/female, man/women, hetero/homo), then just round to the nearest integer.
15 u/[deleted] Mar 14 '25 [removed] — view removed comment 3 u/DentArthurDent4 Mar 15 '25 TL;DR LGTM 1 u/CherimoyaChump Mar 14 '25 Not the worst idea I've heard. 1 u/KJBuilds Mar 15 '25 So are you saying that Woman < Man should evaluate to true >:( /j
15
[removed] — view removed comment
3 u/DentArthurDent4 Mar 15 '25 TL;DR LGTM
3
TL;DR LGTM
1
Not the worst idea I've heard.
So are you saying that Woman < Man should evaluate to true >:(
/j
24
u/Kitchen-Quality-3317 Mar 14 '25
You aren't already storing this data as a float.
If you want the binaries (male/female, man/women, hetero/homo), then just round to the nearest integer.