Hacker News new | ask | show | jobs
by yawaramin 1827 days ago
Another good alternative to look at is OCaml. It's fast (both to develop and run), and provides a solid, elegant language that fixes almost all of Python's issues. A small one: having a lightweight syntax without being whitespace-sensitive. To the OCaml parser, both of these are the same program:

    type person = { name : string; age : int }

    let greet { name; age } =
      Printf.printf "Hello, %s aged %d!\n" name age
--

    type person = { name : string; age : int } let greet { name; age } = Printf.printf "Hello, %s aged %d!\n" name age