3 ms·
ah, I wasn't trying to imply that Haskell was a JVM language (I know it has its own compiler- GHC), I was referring to Scala and Clojure. I should have probably
by pmarreck 10y ago
ah, I wasn't trying to imply that Haskell was a JVM language (I know it has its own compiler- GHC), I was referring to Scala and Clojure. I should have probably used a semicolon in between those two instead of a comma!
> having a ubiquitous null object in your language that's "falsey" is responsible for a lot of problems like what you describe
In practice I haven't really seen this causing problems, for languages like Ruby and Elixir where the only "falsey" values are nil and false. And it enables some very readable code.