|
Me?
But it's true. Many have tried to spic me, but all have failed.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
answer to Modified MQOTD: Elmer Fudd To Bugs Bunny???
|
|
|
|
|
Or, as the German census taker said, seeing the pile of returned forms: "That's all volks!"
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Boom, Tish!
|
|
|
|
|
Carry on... Jack
speramus in juniperus
|
|
|
|
|
|
|
"A dozen boogie robots. Boogie! Look at this! Watch me."
"Cookie robots! I said cookie robots! *sigh* Ah, why are you so... old?!"
|
|
|
|
|
I thought for sure there was a Paris movie here.
|
|
|
|
|
Dobby does Paris
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
Now keep in Mind that '_IsMale' is a 'int?'...
switch _IsMale
case null:
return "unknown";
case 0:
return "Female";
case 1:
return "Male";
Thank goodness there is comments to help understand what is happening and what the values are for.
Only thing the comments does not explain...
"unsexed != virgin"?
Loading signature...
. . . Please Wait . . .
|
|
|
|
|
pff. waste of space. a bool? would have been sufficient
|
|
|
|
|
On the contrary, the int? was very forward thinking!
Who knows what other option we could have: hermaphrodite, transsexual, transgender male to female, transgender female to male, mutant (with a new kind of chromosome), so many possibilities!!!
|
|
|
|
|
You forgot Bob.
Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
|
|
|
|
|
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 . . .
|
|
|
|