News for hackers. Stuff that matters.
Re:Functional programming in Python by FuManJew on Friday May 11, 2012 @06:40PM (#3961822)
pronounced "deck"
Re:Functional programming in Python by pjscott on Saturday May 12, 2012 @12:26AM (#3962754)
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.
Re:Functional programming in Python by algorias on Saturday May 12, 2012 @03:16AM (#3963104)
The name means double-ended queue. That's the reason behind the strange pronunciation.
Re:Functional programming in Python by mappu on Saturday May 12, 2012 @03:29AM (#3963128)
'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<>