Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Descopes: A missing compiler feature.
C++11 has it, as long as your intermediate thing is not a parameter: auto real_var = []() { complicated lambda; return calculated_value; }();
I'm sure someone will figure out how to polyfill it into javascript ;-)
There are no comments on this comment yet.
C++11 has it, as long as your intermediate thing is not a parameter: auto real_var = []() { complicated lambda; return calculated_value; }();
I'm sure someone will figure out how to polyfill it into javascript ;-)