|
It's Benzoate Ostylezene Bicarbonate, sir!
Loading signature...
. . . Please Wait . . .
|
|
|
|
|
Super Lloyd wrote: was very forward thinking!
Star Trek distance forward thinking indeed!
Loading signature...
. . . Please Wait . . .
|
|
|
|
|
There's an ISO standard[^] for it.
0 = not known,
1 = male,
2 = female,
9 = not applicable.
Be excellent to each other. And... PARTY ON, DUDES!
Abraham Lincoln
|
|
|
|
|
The document to define this is 24 pages long.
speramus in juniperus
|
|
|
|
|
Nagy Vilmos wrote: 24 pages long.
Sounds vaguely like T&Cs
Loading signature...
. . . Please Wait . . .
|
|
|
|
|
mmm.
Can I make up 3 - 8 then?
AND YES. BOB is 3. Nuff said
Loading signature...
. . . Please Wait . . .
|
|
|
|
|
And someone will still complain, because they want to be listed as "60% male, 60% female" or some other absurdity.
|
|
|
|
|
harold aptroot wrote: ...listed as "60% male, 60% female" or...
So you think that why they used int and not bool? So that there are 2,147,483,647 possibilities of male and female (and unknown according to above comments)
Loading signature...
. . . Please Wait . . .
|
|
|
|
|
Nah, nah, that's the beauty of the 'int?' could accommodate 4Gb of variety! :P
|
|
|
|
|
It might not be enough. Go straight for 'long?'.
|
|
|
|
|
harold aptroot wrote: Go straight for 'long?'.
Why are you discriminating? Go for decimal[^]
Loading signature...
. . . Please Wait . . .
|
|
|
|
|
I'm not the captain. Call me Ismale.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Nice!
A haben't thought of that.
Cheers!
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
|
|
|
|
|
I shall call you Sir Ismale.
At least then someone would have called you "Sir," without adding "you're making a scene"...
Loading signature...
. . . Please Wait . . .
|
|
|
|
|
Good one. Where's the "Like" button?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
As a thanks I shall pass you your very own bread knife[^]
Loading signature...
. . . Please Wait . . .
|
|
|
|
|
Is not that obvious. For instance I don't see the default section.
By the way, captain is right (and you are wrong) on null->"unknown" , 'virgins' definitely have sex...
Veni, vidi, vici.
|
|
|
|
|
CPallini wrote: I don't see the default section.
Finally someone notices it.
To think in one piece of code so many wrong can be
here is your prize
Loading signature...
. . . Please Wait . . .
|
|
|
|
|
Most living organisms are neither male nor female, what is the problem?
---------------------------------
Obscurum per obscurius.
Ad astra per alas porci.
Quidquid latine dictum sit, altum videtur.
|
|
|
|
|
Dalek Dave wrote: Most living organisms are neither male nor female,
nor breathing, nor seeing, nor understanding, nor smiling, nor free, nor alive, nor dead, nor transexual, nor bisexual, nor asexual, nor here, nor included in the result, nor able work a computer... oooh look puppy!
Loading signature...
. . . Please Wait . . .
|
|
|
|
|
|
wiki wrote: Norrie May-Welby (born 23 May 1961), also known as norrie mAy-Welby
Wow that is a huge difference!
I am CBadger also known as CBadger
Loading signature...
. . . Please Wait . . .
|
|
|
|
|
I wonder wich restrooms zie is allowed to use ...
|
|
|
|
|
switch _IsMale
case null:
return "unknown";
case 0:
return "Female";
case 1:
return "Male";
default:
return "Occasionally";
FTFY
|
|
|
|
|
Mike Hankey wrote: return "Occasionally";
But occasionally is the opposite of never... So IsMale? Occasionally.
And my dog is occasionally SuperDog
Loading signature...
. . . Please Wait . . .
|
|
|
|