[Tutor] Clearing the Deque • Picturing Python’s `deque` data structure

Roel Schroeven roel at roelschroeven.net
Wed Nov 8 18:53:38 EST 2023


Alan Gauld via Tutor schreef op 9/11/2023 om 0:36:
> On 08/11/2023 20:27, dn via Tutor wrote:
>
> >>> *pronounced like “deck"
> >> New Zealand-style pronounciation?
>
> > Actually (a very English exclamation), Stephen is based in London!
> > 
> > How would you like it pronounced?
>
> I've only ever heard it pronounced as Dee-Queue.
>
> Differentiated from deque in that it is a noun and not a verb.
> So context is sufficient. I've certainly never heard it called
> a deck!

When used as the name for the data structure, both pronunciations are 
used apparently, but _deck_ seems to be more common on Youtube:
https://youglish.com/pronounce/deque/english?

_Deck_ is what I've always used in any case, though that probably 
doesn't say much since I'm not a native English speaker.

-- 

"Experience is that marvelous thing that enables you to recognize a
mistake when you make it again."
         -- Franklin P. Jones



More information about the Tutor mailing list