3 ms·
Java has had lambdas since Java 8. (I don’t know if you’d consider them “crippled” or not; they are less crippled than Python’s.)
by skissane 7y ago
Java has had lambdas since Java 8. (I don’t know if you’d consider them “crippled” or not; they are less crippled than Python’s.)
- cbsmith 7y agoEven before Java 8, Java had inner classes that if you squinted at them right looked like very syntactically awkward lambdas (indeed, Java 8 lambdas compile down to something that looks an awfully lot like an inner class).