News for hackers. Stuff that matters.
Re:TypeScript: Branded Types by diarrhea on Wednesday April 24, 2024 @04:44PM (#40149372)
As a TypeScript beginner, I was bitten by this. Typing in TypeScript feels quite bad for some reason; a lot of effort for effects which are still potentially wrong at runtime. I didn’t struggle so much in Python, Rust or C#, for example. Python is surprisingly… sound? in comparison. It can do nominal as well as structural typing.

There are no comments on this comment yet.