The Garden of Forking Paths

1:50pm - 2:20pm on Friday, October 2 in Online

Moshe Zadka

Watch:
https://youtu.be/2RxSoHJcYgg

Description

Explicit may be better than implicit, but brevity is the soul of wit. Sometimes our code needs to be something “equivalent” in some sense to many different things. Long if/elif chains quickly become tiresome.

How do we make sure the right code gets called, keep our logic readable, and make modification and refactoring easy?

The Python ecosystem has a whole suite of solutions, some in the standard library and some in packages available from PyPI. This talk will cover the alternatives available, when to use them, and how to balance readability with expressivity.

Want to edit this page?