News for hackers. Stuff that matters.
Re:So you're using a weird language by kaba0 on Thursday October 06, 2022 @12:25PM (#33110329)
> Statically typed functional languages like Haskell and OCaml allow much more correct code and reject much more wrong code

In functional code, sure. In a predominantly mutable algorithm, you fight the language more than what you gain, and sometimes, yes, the mutable approach is simpler and easier to reason about. Especially local mutability can be very readable/maintainable.

Re:So you're using a weird language by neilparikh on Friday October 07, 2022 @02:37AM (#33118115)
Local mutability is not particularly difficult in either Haskell or OCaml.