News for hackers. Stuff that matters.
Re:Why Reliability Demands Functional Programming by akkad33 on Sunday December 28, 2025 @02:08AM (#46409097)
> Java type shenanigans are endless if you want some fun but baseline you can cast to arbitrary types at runtime and completely bypass all compile time checks.

For this reason Java is a bad example of a typed language. It gives static typing a bad rep because of its inflexible yet unreliable type system (only basic type inference, no ADTs, many things like presence of equality not checked at compile time etc ) Something like ocaml or fsharp have much more sound and capable type systems.

There are no comments on this comment yet.