News for hackers. Stuff that matters.
Re:Parse, Don't Validate (2019) by j1elo on Saturday June 26, 2021 @12:10PM (#27643070)
Great comment. There are no silver bullets. I am Team static typing, but recognize how heavy of a burden would be to start a purely exploratory development in Rust or Java. It just "cuts your wings" in the name of correctness... well some times it is useful to have the ability to start with a technically incorrect implementation that anyways only fails in a corner case that is not your main point of research.

On the other hand, as the initial code grows and grows, the cost of moving it all to a saner language grows too... discouraging a rewrite. So we end up with very complex production software that started as dynamic and is still dynamic.

Re:Parse, Don't Validate (2019) by b3morales on Saturday June 26, 2021 @03:17PM (#27644924)
Perhaps the Goldilocks mixture will be languages that allow type annotations but don't require it (e.g. Typescript, Elixir, Racket, and I think this is how Python's works).
Re:Parse, Don't Validate (2019) by wpietri on Saturday June 26, 2021 @05:57PM (#27646302)
Yeah, I've been using Python's gradual typing for a while. It's not perfect, but I'm excited for the possibilities. But the real test is to see what it's like on a large, long-lived project, so I'm keeping any open mind. I figure if that doesn't work fully, it'll still be a nice step toward things that can be pulled out as isolated services.