Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rwmj
on March 26, 2011
|
parent
|
context
|
favorite
| on:
C++ International Standard final draft is ready
Welcome to ... what? 1970? 1960? How many decades ago did other languages have anonymous functions?
masklinn
on March 26, 2011
|
next
[–]
Lisp, 1958. Though technically they were invented in 1936 by Alonzo Church (in his Lambda Calculus).
killedbydeath
on March 26, 2011
|
prev
|
next
[–]
There are function pointers in C and they are used to pass logic into C/C++ functions. They are not anonymous, and are more awkward to use than the new syntax, but they covered many use cases.
malkia
on March 26, 2011
|
prev
|
next
[–]
Exactly! Now it's time for the assembly language to get anonymous lambdas too :)
rwmj
on March 26, 2011
|
parent
|
next
[–]
If only C++ was as useful as the odd bit of assembly programming.
extension
on March 26, 2011
|
prev
[–]
I hope they at least beat Java to it.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: