logoalt Hacker News

NeutralForestyesterday at 5:39 PM1 replyview on HN

I'm working with Python and I'm sympathetic to the problem so I'd be curious if you have examples of what Python issues are fixed with OCaml.


Replies

rienbdjyesterday at 6:30 PM

A few ways in which Python is not really functional:

The scoping rules of Python are not lexical

Lambdas in Python are not multiline

Recursion is not a practical way to write code due to stack overflows

Monkey patching