News for hackers. Stuff that matters.
Re:Software development topics I've changed my mind on after... by crvdgc on Wednesday February 05, 2025 @04:50PM (#42955735)
Imagine adding types to a legacy JavaScript codebase. You can turn everything to valid TypeScript by annotating `any` everywhere, then you can gradually add types here and there.

Or imagine writing Rust with `Rc` everywhere and then using the borrowing style on the hot path.

I can see where the author is coming from, but sadly a difficulty is that dependently typed languages often require the programmer to prove type equality during type checking. It's hard to do if the information is not complete.

There are no comments on this comment yet.