20 Nov
2018
20 Nov
'18
1:28 p.m.
I also find TypeScript's more lightweight syntax around unions (`x | y` vs. Union[x, y]), optionals (`x?` vs. `Optional[x]` - approximately), arrays/lists (`x[]` vs. `List[x]`) etc. more pleasant to read and write. However, in TypeScript, the types are entirely erased, while in Python, they have a runtime representation and everything is imported. I think this initial choice tilts the scale towards the more verbose, but more consistent syntax.
I would rather have `Optional` -> `Opt`, `Callable` -> `Call`
Maybe `Literal` should be `Lit`?