POV-Ray : Newsgroups : povray.off-topic : A question about C++ Server Time
7 Sep 2024 17:12:06 EDT (-0400)
  A question about C++ (Message 11 to 16 of 16)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Darren New
Subject: Re: A question about C++
Date: 14 May 2008 13:54:31
Message: <482b2757$1@news.povray.org>
Fredrik Eriksson wrote:
> What is this obsession some people have with speaking code out loud? 

I don't know it was an obsession. I was thinking more of (say) an 
over-the-phone job interview kind of question.  Certainly if your 
language is so full of baroque character combinations that nobody even 
agrees how to read it out loud, there's something wrong. Especially 
given that even APL isn't that bad, and APL doesn't even use ASCII. :-)

-- 
   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

From: Orchid XP v8
Subject: Re: A question about C++
Date: 14 May 2008 14:54:52
Message: <482b357c$1@news.povray.org>
>> 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.

I tend to just use "open" and "close". (Especially for Haskell - surely 
only Lisp itself has more brackets!)

PS. I can't believe Warp hasn't pointed out the obvious error yet...

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Fredrik Eriksson
Subject: Re: A question about C++
Date: 14 May 2008 15:03:57
Message: <op.ua5q8u2b7bxctx@e6600.bredbandsbolaget.se>
On Wed, 14 May 2008 19:54:31 +0200, Darren New <dne### [at] sanrrcom> wrote:
> Fredrik Eriksson wrote:
>> What is this obsession some people have with speaking code out loud?
>
> I don't know it was an obsession. I was thinking more of (say) an  
> over-the-phone job interview kind of question.

Even worse. I would question the competence of an interviewer asking me to  
"speak source" to him over the phone. Verbal communication is a really  
poor medium for accurately conveying such things. Programming languages  
are (COBOL aside) designed to be read/written, not spoken.


> Certainly if your language is so full of baroque character combinations  
> that nobody even agrees how to read it out loud, there's something  
> wrong. Especially given that even APL isn't that bad, and APL doesn't  
> even use ASCII. :-)

APL uses only one-character operators. You could recite C++ source one  
character at a time too.



This is something of a pet peeve of mine, gained after hearing far too  
many people trying (and failing miserably) to communicate source code  
verbally.


-- 
FE


Post a reply to this message

From: Darren New
Subject: Re: A question about C++
Date: 14 May 2008 15:06:27
Message: <482b3833$1@news.povray.org>
Orchid XP v8 wrote:
> PS. I can't believe Warp hasn't pointed out the obvious error yet...

There are multiple meanings for the word "fib" in English. ;-)

-- 
   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

From: Darren New
Subject: Re: A question about C++
Date: 14 May 2008 15:07:38
Message: <482b387a@news.povray.org>
Fredrik Eriksson wrote:
> APL uses only one-character operators.

Not true. quote-quad and jot-dot both spring to mind.

> You could recite C++ source one 
> character at a time too.

Sure, but it would be tedious. At least APL is short. ;)

-- 
   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

From: Warp
Subject: Re: A question about C++
Date: 15 May 2008 09:01:30
Message: <482c3429@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> I was thinking more of (say) an 
> over-the-phone job interview kind of question.

  Then I would say "I print 5 to the standard output".

  It doesn't make sense to ask character-by-character syntax in a phone
interview.

-- 
                                                          - Warp


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.