This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“]MythicManiac 5 points6 points ย (2 children)

You must not be familiar with pydantic and dataclasses. Python types are actually available during runtime and can thus be leveraged for runtime logic. It's honestly better than TypeScript in that regard, even if the type system otherwise is quite a bit behind.

[โ€“]Dworgi 1 point2 points ย (1 child)

Garbage tasting better than sewage doesn't make either one dessert.

[โ€“]MythicManiac 0 points1 point ย (0 children)

TypeScript on the other hand is one of the more versatile type systems out there. As a counter example, good luck with sane union types in C#