News for hackers. Stuff that matters.
Re:When to Use TypeScript – A Detailed Guide Through Common ... by james_s_tayler on Sunday April 07, 2019 @08:33PM (#19600964)
What usually slows me down about dynamically typed code is you have some variable returned by a function only denoted by var myVariable = myFunction(); and I'm sitting there staring at thinking... "what are the contents of that variable? what properties do I have access to on that object? what can I do with it?"

And figuring that out becomes a massive time suck when that's a constant across an entire code base. Statically typed stuff means I can very quickly find that out even if it's the first time i'm exploring that particular area of the code.

Re:When to Use TypeScript – A Detailed Guide Through Common ... by seanmcdirmid on Sunday April 07, 2019 @08:59PM (#19601081)
I agree, in a type inferred language or a language where annotations can be supressed, this is just another matter of IDE affordable.

Some dynamically typed languages support type annotations that are only enforced dynamically; Julia is the primary example of such a language ATM.