|
|
|
|
|
by habitue
1988 days ago
|
|
> but at least on par with typescript I wish this were true, but mypy is far behind typescript. For example, mypy has `Literal["foo"]`, but typescript has the ability to template literals like `"foo-${bar}"` etc, and actually understand the results statically. That's not to say mypy isn't great, it has some really good stuff, but I mostly think you're underselling Typescript here. |
|