News for hackers. Stuff that matters.
Re:Porting a React Front End to TypeScript by jamil7 on Tuesday April 28, 2020 @10:45AM (#23007476)
I don't write much JS/TS anymore but I had a weird relationship with Typescript. I work daily with Swift and sometimes Kotlin and found myself slightly disappointed about the kinds of things that Typescript would let me do, I'm not sure if this is up to the underlying limitations of compiling to JS or that the settings of the project I was on wasn't configured properly. It adds quite a bit of overhead as a dependency when you have to bring in typings and keep these updated then make everything work with tests and storybook etc. It's a huge improvement over Javascript though and it's likely unfair to compare it to those other languages.
Re:Porting a React Front End to TypeScript by valuearb on Tuesday April 28, 2020 @03:30PM (#23010836)
I think the future is a strongly typed language like Kotlin/Swift to webassembly on front end, and compiled to Bytecode on back end.