![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
How do you pronounce "cout << 5" in english? If you were to read that
statement over the phone to someone, what would you say? Obviously not
"cout logical-shift-left 5". Would you really say "count
operator-less-than-less-than five"?
Incidentally, I think C# does a good job of unifying the benefits of
printf-style formating with the benefits of C++-style formatting. Of
course, it means that everything you want to print actually has to be an
object and you have to be able to look up routines at runtime, so it has
an efficiency aspect compared to the C++ method. But there's actually a
number of layers of formatting control going on there, all of which the
user can override in particular classes as well as doing the
"cout << hex() << 29" sort of per-class custom formatting controls.
--
Darren New / San Diego, CA, USA (PST)
"That's pretty. Where's that?"
"It's the Age of Channelwood."
"We should go there on vacation some time."
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I have no idea if there's a `proper' convention for that or not, but I
generally treat "cout" as a verb and would just say "cout five".
Darren New wrote:
> How do you pronounce "cout << 5" in english? If you were to read that
> statement over the phone to someone, what would you say? Obviously not
> "cout logical-shift-left 5". Would you really say "count
> operator-less-than-less-than five"?
>
> Incidentally, I think C# does a good job of unifying the benefits of
> printf-style formating with the benefits of C++-style formatting. Of
> course, it means that everything you want to print actually has to be an
> object and you have to be able to look up routines at runtime, so it has
> an efficiency aspect compared to the C++ method. But there's actually a
> number of layers of formatting control going on there, all of which the
> user can override in particular classes as well as doing the
> "cout << hex() << 29" sort of per-class custom formatting controls.
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Darren New wrote:
> How do you pronounce "cout << 5" in english?
I have a better question:
How do you pronounce "fib = 1 : 1 : zipWith (*) fib (tail fib)" in such
a way that
1. the person hearing you will know exactly which expression you're
describing, and
2. it takes less than 20 minutes to say it
??
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Orchid XP v8 wrote:
> Darren New wrote:
>> How do you pronounce "cout << 5" in english?
>
> I have a better question:
>
> How do you pronounce "fib = 1 : 1 : zipWith (*) fib (tail fib)" in such
> a way that
>
> 1. the person hearing you will know exactly which expression you're
> describing, and
I'd say
fib equals one colon one colon zipwith operator star fib paren tail fib
end paren.
Here's something I want to know...
What's a rhetorical question?
--
Darren New / San Diego, CA, USA (PST)
"That's pretty. Where's that?"
"It's the Age of Channelwood."
"We should go there on vacation some time."
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Assuming the person I'm talking to knows something of C++, I would probably
say it like:
see-out five.
--
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Darren New wrote:
> Here's something I want to know...
> What's a rhetorical question?
Don't you think the self-referentiality of that is a bit obvious?
On a serious note, I chuckled at it and will add it to my mental list of
geek jokes.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On Tue, 13 May 2008 15:00:24 -0700, Darren New wrote:
> Here's something I want to know...
> What's a rhetorical question?
Assuming you're not asking rhetorically, it's one that's eloquent or with
intent to pursuade. Also a question phrased as "a literary exercise".
"Of, belonging to, concerned with, or comprised in the art of rhetoric."
or "Of persons: Given to the use of rhetoric.". :-)
Zaphod (Head 1): "Why are my heads asking each other rhetorical
questions?"
Zaphod (Head 2): "Oh, were they rhetorical?"
Jim
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Darren New <dne### [at] san rr com> wrote:
> How do you pronounce "cout << 5" in english?
You don't.
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Darren New wrote:
> How do you pronounce "cout << 5" in english? If you were to read that
> statement over the phone to someone, what would you say? Obviously not
> "cout logical-shift-left 5". Would you really say "count
> operator-less-than-less-than five"?
If the person at the other end of the phone is a C++ guru, you could
probably say "c out five", and they would understand that the streaming
operator belongs there.
Regards,
JOhn
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On Wed, 14 May 2008 12:44:39 +0200, Warp <war### [at] tag povray org> wrote:
> Darren New <dne### [at] san rr com> wrote:
>> How do you pronounce "cout << 5" in english?
>
> You don't.
While I personally try to avoid absolutes, I do agree with Warp here. What
is this obsession some people have with speaking code out loud? If the
other person is too far away for direct communication, send the code in an
e-mail or IM. If he is close enough for face-to-face conversation, show
him whatever device you yourself are reading the code from.
--
FE
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |