Mailing List Archive

Clearing the Deque • Picturing Python’s `deque` data structure
You will be welcome to join us at our next (hybrid) meeting: Wednesday,
15 November 2023, 1815~2030 NZDT (0515~0730 UTC).


How often do you use a deque*? “Not very” is a common answer. Perhaps
you’ve never used it. In this presentation, Stephen won’t try to
convince you to use it more often. Instead, he’ll present a different
perspective on what this data structure is, and how it differs from a
list. The presentation will compare deques and lists in a visual manner,
to help us understand why we may need a deque in certain situations.
We’ll also explore some demonstration examples to highlight the
differences in performance between the two data structures in different
scenarios.
*pronounced like “deck"

Audience: This presentation is ideal for those who have either never
heard of deque, or have heard of it but never really used it or
understood why it’s needed. The more experienced may find the visual
story insightful.

Stephen used to be a physicist, which is where he learned programming.
After working in science and academia for over a decade, he decided to
escape before it was too late. Since then, has focused exclusively on
teaching coding and communicating about Python. A big part of his day is
busy with running Codetoday—we teach Python coding to children between 7
and 16 years old (https://www.codetoday.co.uk/). He also runs courses
for adults and corporate training programs, and particularly, writing
about Python. He writes the articles he wished he had when learning. He
publishes articles at The Python Coding Stack
(https://thepythoncodingstack.substack.com/) and also wrote an online
book (soon to be in other formats, too) for beginners, The Python Coding
Book (https://thepythoncodingbook.com/).


Please RSVP on Meetup.com (NZPUG Auckland Branch):
https://www.meetup.com/nzpug-auckland/events/295433874/

--
Regards,
=dn
--
https://mail.python.org/mailman/listinfo/python-list