Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

pronounced "deck"


So it is a doubly linked list, its name is deque, and its name is pronounced "deck". The levels of indirection here sound kind of like something Lewis Carroll might write.


The name means double-ended queue. That's the reason behind the strange pronunciation.


'deque' is an irregular abbreviation for double-ended queue, and "deck" is a convenient metaphor for visualising the container - you can put things at either end of a deck of cards. c.f. std::deque<>




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: