Afficher un message
Vieux 22/10/2007, 00h25   #3
Thad Smith
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: C pronunciation question

santosh wrote:
> Franz Hose 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?

>
> Frankly code is not read aloud very often.
>
>> 1. '\0'

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

>
> newline, bell, backspace, form feed.


apostrophe backslash n apostrophe, etc.

I know that there are one-syllable names for all the ASCII special
characters for reading out loud:
"tick slide n tick" for '\n', etc.
See ASCII in the Jargon file:
<http://www.ccil.org/jargon/jargon_16.html#SEC23>.

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

>
> null pointer constant, ASCII null.


null, and n-u-l (spelled out, since it is not a special C identifier,
although ASCII null is good, too)

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

>
> y is assigned to x, x is equal to y.


x equal y, x equals y

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

>
> preincrement x, postincrement x, x plus equals n.


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

>> 8. argc, argv

>
> Aey-Aar-Gee-Cee, Aey-Aar-Gee-Vee.


arg-cee, arg-vee


--
Thad
  Réponse avec citation
 
Page generated in 0,06468 seconds with 9 queries