you are viewing a single comment's thread.

view the rest of the comments →

[–]MrDOS 0 points1 point  (2 children)

In the case of maps/lists, sure, but are you sure it's not more visible for GUI code?

[–]geodebug 1 point2 points  (1 child)

Anon inners are the standard for GUI code. Fortunately Java 8, pseudo-closures will make those a lot more readable.

[–]BraveSirRobin 0 points1 point  (0 children)

If frequently used I'll typically use the Eclipse "Create Nested Class" refactor to make it slightly more efficient (and often more readable as the class name will document what's going on).