Hacker News new | ask | show | jobs
by catnaroek 3499 days ago
You have it backwards. In Java, collections of procedures (aka objects) are in charge of data. In Haskell and OCaml, data exists independently of the procedures that will operate on it.