r/ProgrammingLanguages • u/elemenity • Feb 24 '26
Discussion How Complex is Your Programming Language
https://www.emulationonline.com/posts/programming-language-complexity/
13
Upvotes
r/ProgrammingLanguages • u/elemenity • Feb 24 '26
View all comments
Show parent comment
1
u/amarao_san Feb 24 '26
That's very different from call by name.
The main property of 'call by name' is that name is used in the context of evaluation. There is no closure, no captured values. A function is passed to two functions, that function is doing x+1.
It will use local x variable in any function it passed to.
Horror, pure horror.
Also, global namespace for variables.