Hacker News new | ask | show | jobs
by gnuvince 3665 days ago
> F#/OCaml's ability to easily move between functional/procedural/OO worlds makes it super flexible.

When I wrote the reference compiler for an intro to compiler class in OCaml, some of the teams who used Haskell asked me about my choice; I said that while most of the compiler was written in a nice FP style, it was nice to have imperative constructs in a few places to follow the techniques from a textbook without having to adapt them and making sure that I haven't changed the complexity.