News for hackers. Stuff that matters.
Re:What Is Good About Haskell? by gowld on Thursday October 03, 2019 @10:04AM (#21147049)
That's right. Java is advertised as a "workman-like language" (today we should say worker-like) because it doesn't require a guru leader to get a working project built.

At my job, software is only have the engineering, we need to save half our brains for product/business issues.

Re:What Is Good About Haskell? by youerbt on Thursday October 03, 2019 @10:25AM (#21147327)
Java is also advertised as "enterprise" language and it can't even encode in its type system that a piece of data can be missing. Or maybe it can, with Optional<T>, thanks Haskell.

I can't tell I had less problems understanding magic container IoC stuff than most Haskell concepts.

Re:What Is Good About Haskell? by tsimionescu on Thursday October 03, 2019 @05:18PM (#21152337)
To be pedantic, Java perfectly encodes the information that a piece of data can be missing - any type supports null as a valid value. What it can't do is encode the information that a piece of data CAN'T be missing.
Re:What Is Good About Haskell? by bspammer on Thursday October 03, 2019 @05:55PM (#21152658)
To be even more pedantic, Java's primitive types (int instead of Integer etc.) have this feature. They can't be null.
Re:What Is Good About Haskell? by the_af on Thursday October 03, 2019 @02:18PM (#21150135)
> maybe it can, with Optional<T>

Not even that. Java's optionals are almost useless, needlessly verbose, you still don't have pattern matching, and there's also still null to contend with.