News for hackers. Stuff that matters.
Re:Figma's Journey to TypeScript by haolez on Saturday May 04, 2024 @10:39AM (#40258015)
It's not that it's bad. But sometimes the project and the team are not that big that its qualities matter. And you lose a little bit of readibility with type-intensive code.

And nicely written TypeScript looks awesome, but badly written TypeScript can be a huge mess, as it can with any language, but TypeScript purists sometimes forget that the language is just a part of a nicely written and designed system.

Re:Figma's Journey to TypeScript by dml2135 on Saturday May 04, 2024 @10:53AM (#40258118)
I would describe typed code as more readable, not less. I take “readability” to mean ease of understanding, not how much my code sounds like written english. Not knowing what the type of something is makes understanding harder.
Re:Figma's Journey to TypeScript by mp1mp2mp3 on Saturday May 04, 2024 @08:08PM (#40261354)
Inferred types seem to be an indication that even the most type-safe languages (eg rust) recognize that types hinder readability, at least in some way.