How is "deque" commonly pronounced?

deque is a standard container in the C++ programming language. Its name stands for Double Ended QUEue. I am wondering how this word should be pronounced:

  • like deck (this is how I've pronounced it so far)
  • like dequeue
  • like Dee-Ee-queue

I realize that this word is not in the dictionaries. I just want to know how most programmers pronounce it. Hope it's on topic.


Solution 1:

From The Art of Computer Programming, volume 1, section 2.2.1 "Stacks, Queues, and Deques":

A deque ("double-ended queue") is a linear list for which all insertions and deletions (and usually all accesses) are made at the ends of the list. A deque is therefore more general than a stack or a queue; it has some properties in common with a deck of cards, and it is pronounced the same way.

It's pronounced /dɛk/, just like the word deck, as in a deck of cards.

Solution 2:

It is most commonly pronounced the same as "deck," usually to distinguish it from a "de-queue" operation. And so, you can "de-queue an object from the deque."