by GIFtheory · 1y ago · 0 comments
Really, OCaml’s syntax is beautiful, unless you’re one of those people who loves to show off how adept they are at typing matching braces, parentheses, commas, and semicolons. Writing a little lambda in C++ is an impressive display of manual dexterity… [&](…,…){… return …; }; Who would rather write that than let f x y = … in?
The only way I’d improve OCaml syntax would be to add something like python style list comprehension.
No comments yet.