Live data from Hacker News

Real World OCaml – 2nd Edition (2021)

dev.realworldocaml.org

1–10 of 82 posts

Re: Real World OCaml – 2nd Edition (2021)

#3
I'm a bit surprised to see this making it to the front page. It's been available for a long time and is one of the first resources anyone with an interest in OCaml is likely to encounter. It seems a little like posting a link to cppreference.com.

Re: Real World OCaml – 2nd Edition (2021)

#4
I'm not a huge fan of this book, if I get a book like this I'd expect it to focus on the standard library and not third party libraries.

On the other hand it says "real world" OCaml and as far as I can tell that really is how OCaml used so It's hard to blame the author.

Re: Real World OCaml – 2nd Edition (2021)

#5
post #3

I'm a bit surprised to see this making it to the front page. It's been available for a long time and is one of the first resources anyone with an interest in OCaml is likely to encounter. It seems a little like posting a link to cppreference.com.

True, but it appears to have been updated last year, I for one wasn't aware of it.

Re: Real World OCaml – 2nd Edition (2021)

#7
post #4

I'm not a huge fan of this book, if I get a book like this I'd expect it to focus on the standard library and not third party libraries. On the other hand it says "real world" OCaml and as far as I can tell that really is how OCaml used so It's hard to blame the author.

The standard library is quite small and not very usable for modern production applications. As an example a lot of the list manipulation functions are not tail-recursive because the tail-recursive implementation is less elegant.

Re: Real World OCaml – 2nd Edition (2021)

#10

Who would be cruel enough to expose the masses to OCaml?

One of the early programming classes I took in grad school (taught at Harvard) was focused on OCaml. It was a wild jump but gave me a newfound respect for functional languages.

Come to think of it though, I’m convinced the class was sponsored by Jane Street or something.

Post reply on HN