4 ms·
> OCaml, Haskell, F#, and other weirdos: I personally can't do it. I tend to not like functional programming languages. I want to, but my brain lacks the plasti
by seanwilson 4y ago
> OCaml, Haskell, F#, and other weirdos: I personally can't do it. I tend to not like functional programming languages. I want to, but my brain lacks the plasticity to relearn everything.
Why would you find OCaml hard to learn if you know Nim? Isn't Nim a functional programming language as well?
Also, how is Nim for writing real-time games that run via JavaScript where you want to avoid garbage collection pauses?
- christophilus 4y agoNim is not really functional. Like most modern languages, you could probably pull of a functional style with it, but it's mutable, imperative, etc.
- sanxiyn 4y agoOCaml supports mutability well. Basically, you can write OCaml as if you are writing Nim.
- klohto 4y agoSame way you avoid them directly in JS. I don’t think Nim claims it’s easy to do.