News for hackers. Stuff that matters.
Re:John Carmack on Inlined Code by jacobwcarlson on Friday September 26, 2014 @08:50PM (#8375641)
I've been taking this tack more and more as well and while the syntax is never elegant, one at least grows used to it.

I also try to explicitly name which variables I'm capturing (within reason) as it makes it obvious at a glance what can and can't be modified within the lambda. I really wish it was possible to force constness on captured variables :/

There are no comments on this comment yet.