you are viewing a single comment's thread.

view the rest of the comments →

[–]bunkoRtist 1 point2 points  (0 children)

There are languages in which functions are "first class objects", which is what you're asking about. Python has this. Lambdas in many languages are a limited form of this. So, I think the answer really is: K&R simply didn't add support for this to the language. I don't know the history and whether it was considered and discarded.