Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

How do you pronounce "::"?

by rudder (Scribe)
on Mar 25, 2008 at 09:43 UTC ( [id://676083]=perlquestion: print w/replies, xml ) Need Help??

rudder has asked for the wisdom of the Perl Monks concerning the following question:

When you're talking to someone about a module name, how do you pronounce the "::" in "Foo::Bar::Baz"? That is, in conversation, how would you verbally differentiate that from, say, "Foo::BarBaz" or "FooBar::Baz"?

Replies are listed 'Best First'.
Re: How do you pronounce "::"?
by xdg (Monsignor) on Mar 25, 2008 at 10:35 UTC

    As anonymous said, normally, I treat the :: as a silent word-break.

    The exception might sometimes be if I'm speaking of a line of code verbatim, e.g., "you're missing a semicolon on the line 'use Foo colon-colon BarBaz'". But even then, only if I think it might not be clear from context.

    -xdg

    Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

      Ditto. The naming conventions of most modules make this pretty easy and unambiguous. "CGI Application" and "Digest MD5" and such are easily understood verbally.

Re: How do you pronounce "::"?
by Thelonius (Priest) on Mar 25, 2008 at 14:11 UTC
    There's a tutorial on how to pronounce Perl code here.
      Brillant! No really, that made my morning :)


      holli, /regexed monk/
Re: How do you pronounce "::"?
by Arunbear (Prior) on Mar 25, 2008 at 11:37 UTC
    When spelling it out, I call it "double colon".

      Trouble is, that doesn't save you any syllables. :)

Re: How do you pronounce "::"?
by Anonymous Monk on Mar 25, 2008 at 09:50 UTC
    Foo::BarBaz is Foo BarBaz and FooBar::Baz is FooBar Baz, same as MC::McNeal is MC McNeal and MC::MAC::Neal is MC MAC Neal
Re: How do you pronounce "::"?
by merlyn (Sage) on Mar 25, 2008 at 17:51 UTC

      Ah, good point. In any given conversation, you'll probably be saying the same module name more than once. Say it with the colons once or twice, then revert to skipping them once you both know what's being referred to.

Re: How do you pronounce "::"?
by szabgab (Priest) on Mar 26, 2008 at 07:38 UTC

      Sancti imbecilitas ... OK then. From now on it shall be known as "dvě dvojtečky". And I'd really love to hear you all as you try to guess how to pronounce that.

      Jenda
      Enoch was right!
      Enjoy the last years of Rome.

        We can arrange a meeting if you are interested. We can utter some more words than double colons, too, and drink a beer or whatever. :-)
        And I'd really love to hear you all as you try to guess how to pronounce that.

        d'vay d'votchkey?


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

        The start of some sanity?

      I would use Valium first !
        NUCULARIUM
Re: How do you pronounce "::"?
by explorer (Chaplain) on Mar 25, 2008 at 18:42 UTC

    4dot

Re: How do you pronounce "::"?
by jmcnamara (Monsignor) on May 09, 2012 at 09:20 UTC

    In C++ "::" is called the "scope resolution operator". People occassionally think that makes a good interview question.

    In PHP it has a Hebrew name apparently: Paamayim Nekudotayim.

    --
    John.

Re: How do you pronounce "::"?
by massa (Hermit) on Jul 11, 2008 at 12:47 UTC
    "dois dois-pontos" (portuguese for "two colons", but literally "two two-dots");
    or
    "double colon".
    []s, HTH, Massa
Re: How do you pronounce "::"?
by sandeepbharmoria (Beadle) on Jul 11, 2008 at 11:25 UTC
    I call it DoCO ... (DO)uble (CO)lon... Because it is easy to pronounce.... :)
Re: How do you pronounce "::"?
by choroba (Cardinal) on May 09, 2012 at 08:04 UTC
    What about "square"? The lines are not there, I know, but...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://676083]
Approved by Corion
Front-paged by LanX
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-03-19 02:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found