4 ms·
Curious what examples you felt were outdated.
by bigdict 2y ago
Curious what examples you felt were outdated.
- carterdmorgan 2y agoThey mention at one point that Java doesn't have a way to pass a function as a parameter to another function. That was added in Java 8 with lambdas. That's just one off the top of my head.
- bigdict 2y agoAh ok thanks.
- dehrmann 2y agoNit: it's still right. Lambdas are just functor sugar.
- marcosdumay 2y agoThe only mainstream languages where you can actually pass function references around, without them being sugar for some complex object that the compiler creates are C, C++ and Rust. And it's not trivial to do in Rust.