Remix.run Logo
nottorp a day ago

> those small, quick-to-make dynamic codebases ended up becoming unmaintainable monstrosities

In my experience, type checking / type hinting already starts to pay off when more than one person is working on an even small-ish code base. Just because it helps you keep in mind what comes/goes to the other guy's code.

lolinder a day ago | parent | next [-]

And in my experience "me 3 months later" counts as a whole second developer that needs accommodating. The only time I appreciate not having to think about types is on code that I know I will never, ever come back to—stuff like a one off bash script.

wesselbindt 17 hours ago | parent [-]

> "me 3 months later" counts as a whole second developer

A fairly incompetent one, in my experience. And don't even get me started on "me 3 months ago", that guy's even worse.

nottorp 16 hours ago | parent [-]

"How has that shit ever worked?"

Me, looking at code 100% written by me last year.

baq 16 hours ago | parent [-]

It gets worse with age and size of the project. I’m getting the same vibes, but for code written by me last month.

guskel a day ago | parent | prev [-]

Yep, I've seen type hinting even be helpful without a type checker in python. Just as a way for devs to tell each other what they intend on passing. Even when a small percent of the hints are incorrect, having those hints there can still pay off.