verstra

joined 2 years ago
[–] verstra@programming.dev 2 points 1 month ago (7 children)

Well, you can conclude anything using your reasoning, but that does give the high degree of certainty that is sought after in the studies reviewed in the article.

Again, I'm not saying that I don't believe static type checkers are beneficial, I'm just saying we cannot say that for sure.

It's like saying seat belts improve crash fatality rates. The claim seems plausible and you can be a paramedic to see the effects of seat belts first-hand and form a strong opinion on the matter. But still, we need studies to inspect the impact under scrutiny. We need studies in controlled environments to control for things like driver speed and exact crash scenarios, we need open studies to confirm what we expect really is happening on a larger scale.

Same holds for static type checkers. We are paramedics, who see that we should all be wearing seat belts of type annotations. But it might be that we are some subset of programmers dealing with problems that benefit from static type checking much more than average programmer. Or there might be some other hidden variable, that we cannot see, because we only see results of code we personally write.

[–] verstra@programming.dev 5 points 1 month ago (2 children)

The original author does mention that they want to try using rust when it becomes more stable.

This is why any published work needs a date annotation.

[–] verstra@programming.dev 3 points 1 month ago

Damn, this actually looks really good! Is there an estimate on when this will be useable-ish as a main phone for non-dev users?

[–] verstra@programming.dev 2 points 1 month ago

What about acid and web spitters?

[–] verstra@programming.dev 2 points 1 month ago (1 children)

Hindley-milner type inference for the win!

It's hard to implement, but the result is a statically typed language, mostly without type annotations.

[–] verstra@programming.dev 11 points 1 month ago

Because it is hard to design a study that would capture it. Because it is hard to control many variables that affect the "bugs/LOC" variable.

[–] verstra@programming.dev 9 points 1 month ago (9 children)

My conclusion is that it is hard to empirically prove that "static type systems improve developer productivity" or "STS reduce number of bugs" or any similar claim. Not because it looks like it is not true, but because it is hard to control for the many factors that influence these variables.

Regardless of anyone's opinion on static/dynamic, I think we still must call this an "open question".

[–] verstra@programming.dev 2 points 1 month ago

Or post to gemini instead

[–] verstra@programming.dev 2 points 1 month ago (1 children)

Will read, looks interesting and I already agree with the premise but,

please people, add metadata (date, author, institution) and a bit of formatting to your pages. Not much, 10 lines of global CSS would help already.

[–] verstra@programming.dev 2 points 1 month ago (1 children)

What bugs do you mean? Anything serious i should know about?

 

It seems like the nodes I find using wishbone are small and underwater. Are they even worth it?

view more: ‹ prev next ›