3 ms·
What modern language doesn't have first-class functions and closures? (Except for C, but in that case it's obviously by design, and for good reasons.)
by int_19h 7y ago
What modern language doesn't have first-class functions and closures?
(Except for C, but in that case it's obviously by design, and for good reasons.)
- tiborsaas 7y agoJava only added first class functions relatively recently
- int_19h 7y agoJava added them in version 8, which was 6 years ago. And it was one of the last mainstream languages to add that feature - even PHP and C++ had it for many years by then. So I don't think it's a useful metric for "cool" in 2020, and it hasn't been for a long time.