News for hackers. Stuff that matters.
Re:C++14 lambda tutorial by VMG on Thursday August 28, 2014 @10:02AM (#8237213)
Backwards compatability. Old valid code should remain valid. That includes code which calculates wavelengths.
Re:C++14 lambda tutorial by thelinked on Thursday August 28, 2014 @10:09AM (#8237257)
An interesting example of C++ not being able to introduce new keywords is the co-opting of auto in C++11 from a storage class to type deduction.
Re:C++14 lambda tutorial by ninkendo on Thursday August 28, 2014 @10:15AM (#8237282)
But they had a decent justification: the auto keyword literally did nothing in C++. The only place it was valid, it was also the default.
Re:C++14 lambda tutorial by danielweber on Thursday August 28, 2014 @01:20PM (#8238468)
IIRC they audited a bunch of projects to see if anyone was using auto somewhere besides test code explicitly for the auto-keyword, and found nothing.