7 ms·
I'm not sure if you're familiar with front-end developer tooling or the development process, but my editor will not tell me what error a browser is going to thr
by dan_can_code 2y ago
I'm not sure if you're familiar with front-end developer tooling or the development process, but my editor will not tell me what error a browser is going to throw.
- flohofwoe 2y ago> but my editor will not tell me what error a browser is going to throw And so won't Rust, a runtime error is a runtime error after all. But even Typescript has pretty good control flow analysis which catches a lot of (what would be) JS runtime errors while typing when properly integrated with an IDE. It's not like Rust invented static typing, it just has a very strong type system (which can quickly become an annoyance though, that's why there's a wide range of 'strictness' among statically typed languages, because while static typing is generally a good thing, a 'too strong' type system might not be.
- pjmlp 2y agoSomehow I see a trend on developers educated in scripting languages and using either Go or Rust as their first compiled languages. Apparently they invented static linking, pattern matching, structural typing, unsafe keyword, and plenty of other stuff already present on compiler toolchains and type systems that predate them... I wonder if we will ever sort out the issue of developers caring about programing language history, or operating systems for that matter. I mean in the wider sense, not the geeky community that already does that as a hobby.