Remix.run Logo
devin 5 days ago

> No one claims that good type systems prevent buggy software. But, they do seem to improve programmer productivity.

They really don’t. How did you arrive at such a conclusion?

Permik 5 days ago | parent | next [-]

Not that I can answer for OP but as a personal anecdote; I've never been more productive than writing in Rust, it's a goddamn delight. Every codebase feels like it would've been my own and you can get to speed from 0 to 100 in no time.

leoedin 5 days ago | parent [-]

Yeah, I’ve been working mainly in rust for the last few years. The compile time checks are so effective that run time bugs are rare. Like you can refactor half the codebase and not run the app for a week, and when you do it just works. I’ve never had that experience in other languages.

mplewis 5 days ago | parent | prev [-]

Through empirical evidence? Do you think that the vast majority of software devs moved to typing for no reason?

wolvesechoes 5 days ago | parent | next [-]

> Do you think that the vast majority of software devs moved to typing for no reason?

It is quite clear that this industry is mostly driven by hype and fades, not by empirical studies.

Empirical evidence in favor of a claim that static typing and complex type systems reduce bugs or improve productivity is highly inconclusive at best

avmich 5 days ago | parent | prev | next [-]

It's a bad reason. A lot of best practices are temporary blindnesses, comparable, in some sense, with supposed love to BASIC before or despite Dijkstra. So, yes, it's possible there is no good reason. Though I don't think it's the case here.

gf000 5 days ago | parent | prev [-]

We don't actually have empirical evidence on the topic, surprisingly.

It's just people's hunches.

JumpCrisscross 5 days ago | parent [-]

I feel like the terms logical, empirical, rational and objective are used interchangeably by the general public, with one being in vogue at a time.