News for hackers. Stuff that matters.
Re:Porting a React Front End to TypeScript by glued on Tuesday April 28, 2020 @02:32AM (#23004091)
Tests are only as good as the person who writes them. Typescript is just another way to build confidence in your codebase. I have found it to be an invaluable tool in large projects especially on teams with various levels of experience.
Re:Porting a React Front End to TypeScript by joelbluminator on Tuesday April 28, 2020 @02:37AM (#23004127)
Well code in general is only as good as the person who writes it. You can write static code that compiles and doesn't work at all, you still need to test it. Only in static languages testing it become way more complicated.
Re:Porting a React Front End to TypeScript by monkpit on Tuesday April 28, 2020 @10:27AM (#23007277)
What are the types of tests you’d need to write in a statically-typed language that are more complicated than their dynamically-typed counterparts?