Marcus Näslund
Has been tinkering with code in some form for the past 20 years, currently a software engineer at SSC Space, and a popular science author with his latest book "En Summa av Ögonblick" in stores now. Passionate about education, mathematics, chess, and opinionated style checkers.
Session
Not a cliffhanger! The … is the very topic of this talk! The "Ellipsis" is an often-overlooked part of the python language specification. It's a built-in singleton object with some niche but very practical uses!
The Ellipsis can be used to describe "arbitrary length", "intentional incompleteness" or a sentinel value where None, 0 or False carries different meaning. It is hashable, comparable, safe to use as method argument default, and even works in modern match statements! Let's look at how it's implemented and practical examples of where it's useful.