Skip to content

Making Python faster, and "Dependency Inversion"

Photo of dn
Hosted By
dn
Making Python faster, and "Dependency Inversion"

Details

Two speakers aiming to improve our Python development habits. NB virtual-only meeting due to lack of support for in-person component.

1 Making Python faster - using type hints

Tushar will lead us through:

  • A brief history of type hints
  • Using type checkers to verify your type hints
  • Compiling type checked Python to make it faster
  • Some examples of libraries and the speedups they get from type hints

We'll be looking at mypy/mypyc.

Audience Level: intermediate, ie understand Python constructs, functions, control flow, etc.

Tushar has been a long term Python developer, OSS contributor, author and speaker. He has been working with static analysis and type checkers for the past 3 years, and has contributed to various PSF-projects such as black and mypy.

2 SOLID's Dependency Inversion Principle

Olaf will complete the current Software Craftsmanship series on the SOLID Principles with a session on the Dependency Inversion Principle. This one is particularly fascinating, because at first-glance the inversion seems to be asking us to do things backwards. With understanding, we realise that it is an impressive device enabling us to focus on what is needed by the 'layer' of more valuable components, rather than the lower-level, eg UIs and external interfaces (need refresher? see https://www.bmc.com/blogs/solid-design-principles/)

Audience Level: advanced, ie understand programming constructs, patterns, principles, etc.

Olaf needs no introduction having generously brought us the earlier sessions in his "Software Craftsmanship" series over the last two years. Let's complete this exercise in dogged-persistence and round things off neatly - if you remember, this talk was originally scheduled last month, but technical-gremlins got in the way! Also, please tell us what topics you'd like to cover at this skill-level in future...

Please come, and come with a collegial frame-of-mind. Questions and conversation will be the order of the day. If you are more confident in Python, your constructive advice, suggestions, and alternate approaches will be valued ...

Please RSVP to be advised of the URL.

Regards =dn

Photo of Python New Zealand - Auckland group
Python New Zealand - Auckland
See more events