1. 程式人生 > >Ask HN: Why are lambdas not simply called function literals?

Ask HN: Why are lambdas not simply called function literals?

We don't have a special name for any other literals so why do we have one for functions? I get that it's partially for historical reasons but as it has been discussed before this is confusing for anyone new to programming. I have heard them referred to as "anonymous functions" often but I think function literals describes them more accurately.