Readability vs Performance
问题 Recently we had a discussion at work about the impact of local variables on the performance vs readability of Java code. Some of my colleagues are of the oppinion that declarations like this new DoSomethingCmd(new SelectionContext(context, keys), infoStuff.getCurrentRole().getRole_id()).execute(getResultContainer()); will give the application a considerable performance boost. They are willing to sacrifice code readability for this. Are they right in claiming this? Is the above version