All Questions
1 question
84votes
8answers
73kviews
Is modifying an incoming parameter an antipattern? [closed]
I am programming in Java, and I always make converters sort of like this: public OtherObject MyObject2OtherObject(MyObject mo){ ... Do the conversion return otherObject; } At the new ...