News for hackers. Stuff that matters.
Re:The Grug Brained Developer by freilanzer on Tuesday October 31, 2023 @08:15AM (#38083582)
> But is it wrong?

Yes, because people don't "not often ship code in statically typed languages". It's obviously wrong.

Re:The Grug Brained Developer by Spivak on Tuesday October 31, 2023 @08:56AM (#38084089)
I think you're taking offense on behalf of Java when the paragraph is dragging Haskel and Rust.
Re:The Grug Brained Developer by randomdata on Tuesday October 31, 2023 @11:24AM (#38086263)
Is it? When was the last time you saw Coq in the wild? If you ever saw it you can be certain the program is correct, but...

Clearly type systems live on a spectrum with varying degrees of sacrifices made, with each sacrifice compromising some ability to check for correctness, but giving back some other advantage, improved developer productivity being one possibility.

It is not a question of static typing or not – it is how complicated of a type system do you really need? Even Grug agrees that dynamic typing is not sufficiently complicated, but maybe a static type system that falls somewhere around the middle of the spectrum that helps catch the most grievous of errors (and provides popup magic!) with a sprinkling of automated testing to fill in the gaps where the type system falls short is best for the vast majority of programming situations?

Re:The Grug Brained Developer by freilanzer on Wednesday November 08, 2023 @07:49AM (#38189679)
There is a difference between Coq and say Haskell, for example. I guess I will disprove your entire point by finding an unknown dynamic language that nobody uses then.