Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Python’s “type hints” are a bit of a disappointment to me. Parent comment
class Route:
_route = [] # can be GoogleyRoute or MetaRoute
But we can't do this with the spaghetti that python type annotations are.
There are no comments on this comment yet.
class Route:
And import Route everywhere. That import would help in creating instance objects AND be used as a type.But we can't do this with the spaghetti that python type annotations are.