Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Sigh.
You can fuck a hornets nest, but the expert in urology says it might lead to more problems than "solutions". -
It's sometimes useful if you have a wrapper class that's genuinely only useful in a single method - but that's rare if things are designed well in my experience. Most times I've used them I've found myself refactoring them later - either to generic utility classes, lambdas, or sometimes removing them altogether.
-
@AlmondSauce Ah, but this is pre-lambda times. Just reading a beginner's book. :)
Related Rants

Coworker's whiteboard today
Lmao, in Java you can put an inner class inside a method. I didn't know that.
random
java
learning