Greg Price - Clearer Code at Scale: Static Types at Zulip and Dropbox - PyCon 2018
Speaker: Greg Price
Python now offers static types! Companies like Dropbox and Facebook, and open-source projects like Zulip, use static types (with [PEP 484](https://www.python.org/dev/peps/pep-0484/) and [mypy](https://github.com/python/mypy)) to make Python more productive and fun to work with — in existing codebases from 40k lines to 4 million, in Python 2 and 3, and while preserving the conciseness and flexibility that make Python a great language in the first place. I’ll describe how.
Reading and understanding code is a huge part of what we do as software developers. If we make it easier to understand our codebases, we make everyone more productive, help each other write fewer bugs, and lower barriers for new contributors. That's why Python now features optional static types, and why Dropbox, [Facebook](https://engineering.instagram.com/let-your-code-type-hint-itself-introducing-open-source-monkeytype-a855c7284881), and [Zulip](https://blog.zulip.org/2016/10/13/static-types-in-python-oh-mypy/) use them on part or all of their Python code.
In this talk, I’ll share lessons from Zulip’s and Dropbox’s experience — having led the mypy team at Dropbox and working now on the Zulip core team — for how you can start using static types in your own codebases, large or small. We’ll discuss how to make it a seamless part of your project’s tooling; what order to approach things in; and powerful new tools that make it even easier today to add static types to your Python codebase than ever before.
Slides can be found at: https://speakerdeck.com/pycon2018 and https://github.com/PyCon/2018-slides
Видео Greg Price - Clearer Code at Scale: Static Types at Zulip and Dropbox - PyCon 2018 канала PyCon 2018
Python now offers static types! Companies like Dropbox and Facebook, and open-source projects like Zulip, use static types (with [PEP 484](https://www.python.org/dev/peps/pep-0484/) and [mypy](https://github.com/python/mypy)) to make Python more productive and fun to work with — in existing codebases from 40k lines to 4 million, in Python 2 and 3, and while preserving the conciseness and flexibility that make Python a great language in the first place. I’ll describe how.
Reading and understanding code is a huge part of what we do as software developers. If we make it easier to understand our codebases, we make everyone more productive, help each other write fewer bugs, and lower barriers for new contributors. That's why Python now features optional static types, and why Dropbox, [Facebook](https://engineering.instagram.com/let-your-code-type-hint-itself-introducing-open-source-monkeytype-a855c7284881), and [Zulip](https://blog.zulip.org/2016/10/13/static-types-in-python-oh-mypy/) use them on part or all of their Python code.
In this talk, I’ll share lessons from Zulip’s and Dropbox’s experience — having led the mypy team at Dropbox and working now on the Zulip core team — for how you can start using static types in your own codebases, large or small. We’ll discuss how to make it a seamless part of your project’s tooling; what order to approach things in; and powerful new tools that make it even easier today to add static types to your Python codebase than ever before.
Slides can be found at: https://speakerdeck.com/pycon2018 and https://github.com/PyCon/2018-slides
Видео Greg Price - Clearer Code at Scale: Static Types at Zulip and Dropbox - PyCon 2018 канала PyCon 2018
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Carl Meyer - Type-checked Python in the real world - PyCon 2018](https://i.ytimg.com/vi/pMgmKJyWKn8/default.jpg)
![Alvaro Leiva Geisse - Systemd: why you should care as a Python developer - PyCon 2018](https://i.ytimg.com/vi/ZUX9Fx8Rwzg/default.jpg)
![Kyle Knapp - Automating Code Quality - PyCon 2018](https://i.ytimg.com/vi/G1lDk_WKXvY/default.jpg)
![Pieter Hooimeijer - Types, Deeper Static Analysis, and you - PyCon 2018](https://i.ytimg.com/vi/hWV8t494N88/default.jpg)
![Steven Sklar - The Hare Wins the Race: Getting the most out of RabbitMQ in distributed applications](https://i.ytimg.com/vi/WXkhJ92-fsY/default.jpg)
![](https://i.ytimg.com/vi/CyA03JPxLZk/default.jpg)
![Ned Batchelder - Big-O: How Code Slows as Data Grows - PyCon 2018](https://i.ytimg.com/vi/duvZ-2UK0fc/default.jpg)
![Alex Petralia - Analyzing Data: What pandas and SQL Taught Me About Taking an Average - PyCon 2018](https://i.ytimg.com/vi/DlgG0QdrqAU/default.jpg)
![Jake VanderPlas - Performance Python: Seven Strategies for Optimizing Your Numerical Code](https://i.ytimg.com/vi/zQeYx87mfyw/default.jpg)
![Dustin Ingram - Inside the Cheeseshop: How Python Packaging Works - PyCon 2018](https://i.ytimg.com/vi/AQsZsgJ30AE/default.jpg)
![Justin Crown - "WHAT IS THIS MESS?" - Writing tests for pre-existing code bases - PyCon 2018](https://i.ytimg.com/vi/LDdUuoI_lIg/default.jpg)
![James Bennett - A Bit about Bytes: Understanding Python Bytecode - PyCon 2018](https://i.ytimg.com/vi/cSSpnq362Bk/default.jpg)
![Nina Zakharenko - Elegant Solutions For Everyday Python Problems - PyCon 2018](https://i.ytimg.com/vi/WiQqqB9MlkA/default.jpg)
![Emily Morehouse-Valcarcel - The AST and Me - PyCon 2018](https://i.ytimg.com/vi/XhWvz4dK4ng/default.jpg)
![Brett Slatkin - Refactoring Python: Why and how to restructure your code - PyCon 2016](https://i.ytimg.com/vi/D_6ybDcU5gc/default.jpg)
![Andrew Knight - Behavior-Driven Python - PyCon 2018](https://i.ytimg.com/vi/EtIAbfCrsFI/default.jpg)
![Greg Ward - How to Write Reusable Code - PyCon 2015](https://i.ytimg.com/vi/r9cnHO15YgU/default.jpg)
![David Beazley - Reinventing the Parser Generator - PyCon 2018](https://i.ytimg.com/vi/zJ9z6Ge-vXs/default.jpg)
![Esther Nam - One weird trick to becoming a better software developer - PyCon 2018](https://i.ytimg.com/vi/IYWlfVqBQLc/default.jpg)
![Welcome to Backdrop CMS community on Zulip](https://i.ytimg.com/vi/DN8YL2MrsSU/default.jpg)