4 ms·
Hacker News, circa 2015. Someone writes a blog post, using JavaScript to explain how modules are used in OCaml. Just in the case it changed during the last 20
by hbbio 11y ago
Hacker News, circa 2015.
Someone writes a blog post, using JavaScript to explain how modules are used in OCaml. Just in the case it changed during the last 20 years or so.
Edit: I'm glad more people learn about OCaml. A few years ago, I kept hearing that no one will contribute to my open source OCaml projects...
- pekk 11y agoChances are that no one will contribute to any given project in any popular language either.
- Avshalom 11y agoWell... yeah. What do you want, it's trying to explain by analogy. If it used OCaml it'd be "ocaml modules are simple, they're just like ocaml modules" which is... unhelpful. They could have used C but then they'd have to implement a singleton pattern in C first at which point thats like a dozen things to explain.
- detaro 11y agoYou're glad about more people learning OCaml... but make fun of attempts to help people learn OCaml by comparing it to things they might know already?