|
|
|
|
|
by rubiquity
4018 days ago
|
|
It's cool to see a link about learning OCaml so high on HN. I started teaching myself OCaml a few months ago and I really like it. Here's a few things I like so far and why I think anyone that uses Go or Rust should give OCaml a look: 1. OCaml compiles to a binary like Go and Rust do 2. The type system is helpful without being a huge burden on learning/productivity (unlike Rust and Haskell) 3. Garbage collection 4. Pattern matching and algebraic data types (like Rust) 5. OCaml is plenty fast at CPU bound work(slower than Rust, faster than Go) despite not being parallel (yet) Those are my takeaways of what I enjoy about OCaml so far. It has been the most approachable typed functional language that I've looked at yet! Depending on the type of things you want to learn and problems you want to solve, Your Mileage May Vary. |
|