Dropbox has adopted and scaled Python static type checking using mypy across millions of lines of code. This initiative began as academic research and evolved into a core engineering practice, improving code understanding, maintainability, and developer productivity. The adoption involved standardizing type hinting syntax through PEP 484 and integrating mypy into development workflows, enabling faster iteration cycles and reducing bugs. The team also adopted CoffeeScript for its browser-side code and successfully migrated its entire desktop application from Python 2 to Python 3, involving a significant architectural shift to embed the Python runtime within native applications and a gradual rollout strategy.
All Dropbox trails