3 ms·
This boils down to "dev found out that a static typesystem is usefull". Its always funny when i see these kinds of posts.
by phplovesong 1y ago
This boils down to "dev found out that a static typesystem is usefull".
Its always funny when i see these kinds of posts.
- bkolobara 1y agoMy intention with the blog was to show that Rust's lifetime tracking and trait system allow you to catch much more complicated issues than just "one type doesn't match another" errors. That's the main reason why I chose to compare it with TypeScript, that is also a statically typed language, but just can't catch some issues that Rust can.
- Tryk 1y agoThe notion of a type is not fixed, Rust has a more generous conception of what is a type and what its static type system checks.
- phplovesong 1y agoThe bug you showed had nothing to do with typescript (JS) but the browser API. Typescript is not a good languge, but still a way better option than vanilla JS. I kind of wish Haxe would have taken TypeScripts place as it is simply a better language overall.
- deleted 1y ago[deleted]
- wmanley 1y ago> Its always funny when i see these kinds of posts. What's funny about it?
- phplovesong 1y agoBasically that you list the obvious benefits we knew since the 70s (in a new blogpost). Its a form of re-discovery, and im happy people "find" the joy of it. Rust borrows heavily from the other ml's and thats why many like it, not realizing there is decades of research behind the whys.