# "Dequeues" vs "deques"

**URL:** <https://discourse.julialang.org/t/dequeues-vs-deques/54428>\
**Category:** General Usage\
**Created:** [February 2, 2021, 3:22am UTC](https://discourse.julialang.org/t/dequeues-vs-deques/54428 "2021-02-02T03:22:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yesenadam](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yesenadam/32/21615_2.png) [@yesenadam](https://discourse.julialang.org/u/yesenadam)\
**Post date:** [February 2, 2021, 3:22am UTC](https://discourse.julialang.org/t/dequeues-vs-deques/54428/1 "2021-02-02T03:22:30Z")

</div>

Am pretty new to Julia, I guess this has been discussed before. Anyway…

In the [Julia documentation](https://docs.julialang.org/en/v1.7-dev/base/collections/#Dequeues) there’s a heading Dequeues. I gather this is a variant spelling of Deques, both pronounced _decks_. Isn’t that needlessly confusing? Dequeue is also a verb, _de-kew_, in this field, while Deque _deck_ is not, plus I’m not sure it makes any sense to pronounce ‘Dequeues’ as _decks_. (Maybe it all makes sense if you pronounce both nouns _de-kew_.)

I looked at [the wikipedia page](https://en.wikipedia.org/wiki/Double-ended_queue), which says the ‘dequeues’ spelling is deprecated, although some libraries and a couple of books use it.

Is there any (good) reason changing the spelling to Deques wouldn’t be better? Thanks.

---

<div class="post-metadata">

**Author:** ![aramirezreyes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aramirezreyes/32/42573_2.png) [@aramirezreyes](https://discourse.julialang.org/u/aramirezreyes)\
**Post date:** [February 2, 2021, 4:39am UTC](https://discourse.julialang.org/t/dequeues-vs-deques/54428/2 "2021-02-02T04:39:14Z")

</div>

As a non-native english speaker Deque is not immediately clearer. I would need to check de precise difinition for both of the cases. If it is an abbreviation, why not explicitly writting “Double-ended queues”? Anyway I suppose you can open a pull request to the documentation repository and It can be discussed in there!

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [February 2, 2021, 7:30am UTC](https://discourse.julialang.org/t/dequeues-vs-deques/54428/3 "2021-02-02T07:30:00Z")

</div>

In DataStructures.jl, it is `Deque`:  
[https://juliacollections.github.io/DataStructures.jl/latest/deque/](https://juliacollections.github.io/DataStructures.jl/latest/deque/)
