HackerTrans
トップ新着トレンドコメント過去質問紹介求人

lastofus

711 カルマ登録 12 年前

コメント

lastofus
·5 日前·議論
Snarkiness aside, this is hardly a static type check. This appears to be a runtime argument check, somewhat akin to the following python:

  def foo(*, a, b): return a+b
which errors out at runtime if `a` or `b` are omitted, despite being keyword arguments which are usually optional.
lastofus
·4 か月前·議論
As a long time Django user that wants to start using typing, can you elaborate on why mypy is still the way to go?