News for hackers. Stuff that matters.
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.