4 ms·
The Rust example was interesting but the Typescript example doesn't show if TS would or would not be good for a big project. I'm scared of Ruby because I catch
by dominicrose 1y ago
The Rust example was interesting but the Typescript example doesn't show if TS would or would not be good for a big project.
I'm scared of Ruby because I catch bugs at runtime all the time, but here's the thing: it ends up working before a commit and it was easy enough to get there and it's satisfying to read and edit the code. Now wether I can keep going like this if the project become bigger is the question.
The location.href issue is really a javascript problem that has been inherited by TS. Because JS allows to modify attributes, the browser kind of has to take the change into account. But it's not like Ruby's exit keyword. The page is still there until the next page loads and this makes total sense once you know it.