8 facts about OCaml

OCaml is a language I've blogged about quite a few times, and this is normal: I use it a lot. I'd like today to talk about those little things I like and dislike in OCaml. I won't deal with the usual stuff here (static and strong typing, efficient compiler, functionnal language, etc.)

  • I like:
    • the elegance and conciseness of the language
    • the folds, wonderful for twisted minds
    • if it compiles, it works
    • quite a few other things, but I said I won't talk about strong, static typing ;)
  • I don't like
    • IO is shit: never use print_*, use Printf.
    • regular expressions
    • Gnagna has type t but is here used with type t', where one never know which of the two was inferred
    • did I mention the IO ?

Leave a Reply