2 ms·
True, but like I said that doesn't make it not silly. Just harder to fix. Edit: Also, overriding a class method dynamically inside a function? I usually progra
by contravariant 5y ago
True, but like I said that doesn't make it not silly. Just harder to fix.
Edit: Also, overriding a class method dynamically inside a function? I usually program python these days and even I think that's wild.
- _ea1k 5y agoIts an interface with only method. I suspect that most of us would just us a lambda now.
- contravariant 5y agoI'll never quite understand why it wasn't simply a function in the first place.
- dtech 5y agoJava pre-8 only had anonymous classes, there were no lambdas
- fiddlerwoaroof 5y agoAnd Java lambdas are still syntax sugar for one-method anonymous classes.