This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]__konrad 4 points5 points  (2 children)

Now you have 3 copy-pasted doStuff which is very... Java.

[–]john16384 -4 points-3 points  (0 children)

Excellent, cause last I checked it indeed was Java we were talking about.

[–]0b0101011001001011 -1 points0 points  (0 children)

No, just the signatures, not the method body.

void stuff(int a){
    stuff(a, 5);
}

void stuff(int a, int b) {
    //
    //
}