Hacker News new | ask | show | jobs
by lanstin 203 days ago
Wow that is cool. Pass by name. I always wanted to try it.
2 comments

Algol60 had call by name, Algol68 doesn't really, it does have "proceduring" which creates a function to call when you pass an expression to a parameter that's a function pointer that has no parameters, you can use that to sort of do something like call by name but the expense is more obvious
Just pass a string and `eval` it.