Contribute Media
A thank you to everyone who makes this possible: Read More

Oneliner-izer: An Exercise in Constrained Coding

Description

Speaker: Chelsea Voss

We'll describe the ideas and implementation behind Oneliner-izer, a ""compiler"" which can convert most Python 2 programs into one line of code. As we discuss how to construct each language feature within this unorthodox constraint, we'll explore the boundaries of what Python permits and encounter some gems of functional programming – lambda calculus, continuations, and the Y combinator.

Slides can be found at: https://speakerdeck.com/pycon2016 and https://github.com/PyCon/2016-slides

Improve this page