So as you know there is a best practice saying
Limit a row of source code in 80 characters.
Here are 2 links:
Why is 80 characters the 'standard' limit for code width?
Is the 80 character limit still relevant in times of widescreen monitors?
And I am sure you can fine more if you search for this best practice.
But I find this extremely difficult, here is a sample example:
public class MyClass {
public void myMethod() {
final Map<String, List<MyInterfaceHere>> myReference
So you indent each class and each method and each statement.
And I am already at column 60 by the end of the last 'e' I have in 'myReference'.
I have 20 spaces left do actually call the constructor and assign the object to the reference I have.
I mean does this really look better:
public class MyClass {
public void myMethod() {
final Map<String, List<MyInterfaceHere>> myReference
= new HashMap<String, List<MyInterfaceHere>>();
What is the best practice here?