Ability to access non-final variables from inner classes
I am partially aware of why inner classes can only interact with final variables but at the end of the day, developers simply resort to:
final int result = new int;
write into result;
which is simply sad. I am proposing that the compiler handle this sort of thing on behalf of the user so from the user's point of view he is writing directly to "int result" while the compiler translates it into the above bytecode. It makes it easier to code in Java and it sounds simple to implement. What do you think?