Lee Sheng - Teeing up Python: Code Golf
Channel: EuroPython Conference
Date: 2017-10-13

"Teeing up Python: Code Golf
[EuroPython 2017 - Talk - 2017-07-12 - PyCharm Room]
[Rimini, Italy]

Code golfing is an interesting heuristic dedicated to minimizing the overall length of code to produce the same functionality. The result doesn’t have to be incomprehensible, and in fact, we can make the code more Pythonic in the process!

Concise code helps future readers of the code understand the intent without getting distracted by implementation errata. We’ll cover numerous features of Python which allow complex ideas to be expressed concisely without sacrificing readability.  Broad subtopics:


Why even bother?
Default! The two sweetest words in the english language!
The Joy of Tuples
Comprehending Comprehensions
Who’s afraid of Functional Programming?
Ideas in Context Managers


Slides: https://goo.gl/hGk7nX

License: This video is licensed under the CC BY-NC-SA 3.0 license: https://creativecommons.org/licenses/by-nc-sa/3.0/
Please see our speaker release agreement for details: https://ep2017.europython.eu/en/speaker-release-agreement/