News for hackers. Stuff that matters.
Re:From TypeScript to ReScript by _old_dude_ on Wednesday January 12, 2022 @11:58AM (#29909398)
The problem with the add types later approach is that in the end you have half baked .ts files left and right. And it becomes increasingly difficult to know when something compiles if it's because it's correct or because there is an any somewhere.
Re:From TypeScript to ReScript by elevader on Wednesday January 12, 2022 @05:22PM (#29913567)
Yeah, agreed. Ideally this wouldn't happen like that. Temporary solutions like a half-migration have a tendency to stick around for a lot longer than anybody anticipates. But I think it is still better than not having any types at all, if only for having type information in development.