Afficher un message
Vieux 30/10/2007, 00h08   #64
James Harris
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: C pronunciation question

On 21 Oct, 22:43, Franz Hose <franz_hose_199...@yahoo.dk> wrote:
> last week in class I witnessed somebody reading a C program to
> another person and they were having some difficulties because of
> different pronunciation of some C language terms...so how do
> professional programmers pronounce these things?


You've had a lot of answers already - good and amusing by parts - but
I don't think you've had all of these yet: (You'll note a higher
degree of pedantry here than in the other answers but you did say
people were reading these out in class so I assume we are talking to C
learners and I think the pedantry is apt)

> 1. '\0'


blip, backslash zero, blip

> 2. '\n', '\a', '\b', '\f', etc.


blip, backslash, blip etc

(Once a person is used to the idea that apostrophes are needed for
these the words, "blip," would no longer be needed.

> 3. NULL, nul (how to distinguish these two?)


Don't call a variable 'nul' and if you do spell it each time.

> 4. char (3 possible ways I've heard are 4a) like the 1st syllable in
> "character", 4b) like "char coal", and 4c) like "car"


The one I've heard most often is 4b: char as in coal

> 5. Motif (like "motive" or more like the French word?)


no idea how this relates to C!

> 6. x = y, x == y (how to distinguish these two?)


(I suspect the hacks will dislike this)
x equal(s) y, x equal(s) equal(s) y

> 7. ++x, x++, x += n


plus plus x, x plus plus, x plus equal n

> 8. argc, argv


arg C, arg V

You'll have to tell us which ones you would use ...........


  Réponse avec citation
 
Page generated in 0,05827 seconds with 9 queries