enjoy type hinting and its benefits

  • R0
  • Day 3, 13:55‑14:25
  • English talk
  • Python Libraries
  • Novice

From Python 3, type hinting has been added.
By adding this, static type analysis is now available in Python's world.

It is possible to use this mechanism with mypy, PyCharm etc.

In this session, we will learn about type hinting in Python 3.5 / 3.6.
Next, learn how to use static type analysis using mypy.
this session, let you pleased that you can think about writing python code and writing tests.

Talk Detail

From Python 3, type hinting was prompted. Thanks to this, static type analysis is now available in Python's world. It is possible to use this mechanism with mypy, intellij etc. In this session we will learn about type hinting in Python 3.5 / 3.6. Next, learn how to use static type analysis using mypy. It is also possible to use mypy not only in Python 3 but also in Python 2. In other words, it is said to demonstrate great power to port Python 2 code to Python 3. In fact there are already successes like the following projects. http://blog.zulip.org/2016/10/13/static-types-in-python-oh-mypy/ Throughout this session, I am pleased that you can think about writing python code and writing tests.

Speaker Information

masahito

I am a developer at Nulab in Japan.
I use Python and Scala/Java at work.
A recent hobby is to rewrite Python 2 code to Python 3.