enjoy type hinting and its benefits

  • R0
  • 第 3 天,13:55‑14:25
  • 英文演講
  • Python 函式庫
  • 入門

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.

演講詳細內容

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.

講者介紹

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.