views:

437

answers:

7

How do you pronounce 'bool?', 'int?' and their ilk? I've been mulling over options like "nullable of T", "T hook", "T huh", "T what" and "T" with a rising inflection.

I'm not particularly satisfied with these as they seem either cumbersome or affected or both.

+10  A: 

I think "nullable T" is the best version. Try saying "nullable bool" 10 times fast.

kitchen
nullabool, maybe :)
jleedev
nullaint, nullashort... nullalong. nullastruct!
Mark Canlas
... nulladate !
Stan R.
Maybe NuBull, NuInt should be introduced.
Mathias
+2  A: 

I just call it a "nullable T"

Brian Ensink
+11  A: 

I just say "nullable type". Nullable bool, nullable int.

I'm Ron Burgundy?

Mark Canlas
I wish I could give multiple upvotes for the Ron Burgundy reference!
Jarrett Meyer
I don't understand how is this Ron Burgundy. Anyone can pls explain?
Joan Venge
@Joan: There is a scene in the movie 'Anchorman: The Legend of Ron Burgundy' where the main female character edits his transcript of the news with a question mark at the end of his signature sign-off, which is "I'm Ron Burgundy, you stay classy San Diego". So, because of his reputation to read the transcript word for word, he reads it as "I'm Ron Burgundy?" with inflection at the end to suggest he was asking a question. Here is the link to the audio to make it more clear, if I haven't already: http://imronburguny.ytmnd.com/
kitchen
Thanks kitchen now got it. Yeah it's one of my favourite too.
Joan Venge
A: 
  • optional bool, optional int
  • bool meh, int meh
Daver
What about "maybe bool" or a "maybe long"?
Mark Canlas
Incidentally, the original name of "nullable" was "optional", back when it was first designed. We represent well-known types with constant ints for brevity in the compiler, and Nullable<T> is PT_G_OPTIONAL. (Predefined-type-generic-optional). Confused the heck out of me when I first saw it.
Eric Lippert
+1  A: 

I would call the data type "a nullable T", and pronounce the code "T questionmark".

Guffa
+2  A: 

I recently heard in a tutorial the speaker to pronounce the T? types just like T with an intonation of a question... :) It's cool, isn't it. And if you add the voice of R2-D2 , it kicks asses :)

anthares
+2  A: 

T with rising inflection. The others take too long to say.

User1