How to pronounce shortened words? [closed]
I'm studying programming, and regular English words are often shortened. For example, "previous" is shortened to "prev", "integer" to "int", "character" to "char" etc.
How do you pronounce the short versions? Is it char like in "charcoal" or char like in "character", sounding like "care"?
Edit: why I think this question is not the same as "how to pronounce programmers' word char", my question was more in the general sense on how to think about those pronunciations, as only the case of "char" is not my only concern.
Solution 1:
I am a computer scientist, and I think that some conventions have a lot to do with the group you're working with. With that being said, here are a few notes on what I have observed:
People tend to pronounce short versions of types:
- char sounds like car
- int sounds like int (short "i" vowel sound)
- bool sounds like it does in at the beginning of the full word boolean.
A few other notes on type pronunciation:
- There isn't a short version of long.
- ulong is pronounced "you-long"
- uint sounds like "you-int"
I would like to note that people may switch up between the long and short versions when speaking. For example, if I'm talking about code with a friend, I might switch between saying int and integer. In formal settings, I personally tend to consistently use the long versions.
In regards to other things that are not types (i.e. a variable named prev for previous), pronunciation may depend on the word and the person. I'd personally pronounce that specific one as prev with a short "e" vowel sound ("eh"). I'm guessing that's how many other people would also pronounce it.
I hope that helps.