My company is working with another company to get one of their large COBOL applications translated into java. The other company doesn't think that including white-space in the code for legibility is important. Apparently the people on my side don't think it's that important either, as we surely could have requested it be done anyway, and how difficult could it be to add spaces and line-breaks?
So a lot of the translated code that we're getting looks like this:
This peeves me.
A lot of our programmers are new to Java. So when they start working on the code and updating it, they will likely mimic the above formatting, possibly not even realizing that it's possible or preferable to put in whitespace and linebreaks.
So a lot of the translated code that we're getting looks like this:
if(someThing.doThis()||someThing.doThat().doThis()||someOtherThing.doSomeOtherThing()==ITSALONGLONGLONGLINE||xyz++==ITSAREALLYREALLYLONGLINE){ thatThing.memberVar=ladiDah.isANiceDay(); thatThing.memberVar2=ladiDah.dahdahdah; }
This peeves me.
A lot of our programmers are new to Java. So when they start working on the code and updating it, they will likely mimic the above formatting, possibly not even realizing that it's possible or preferable to put in whitespace and linebreaks.