zlacker

[parent] [thread] 1 comments
1. Neutra+(OP)[view] [source] 2026-02-02 17:39:07
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(1): >>rienbd+Na
2. rienbd+Na[view] [source] 2026-02-02 18:30:49
>>Neutra+(OP)
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

[go to top]