Live data from Hacker News

Viewing profile — qwefsdf

qwefsdf

HN member
Joined
Thu, Dec 08, 2022, 9:45 PM UTC
HN karma
25
Public activity
3 items

About qwefsdf

No profile information was provided.

Recent public activity

  1. comment
    Comment #33927506

    With type hints you would model this as a Union type, i.e., Union[int, str]. This is perfectly legal with mypy and other Python type checkers.

  2. comment
    Comment #33927500

    That's an Optional[int]. It's not "mixed types", it's a union type.

  3. comment
    Comment #33914025

    Anybody claiming it's almost Python is kidding themselves. This compiler needs to do static type checking. This is inherently impossible in Python. Not just because of some obscure…