I have seen this often in code, but when I speak of it I don\'t know the name for such \'pattern\'
I have a method with 2 arguments that calls an overloaded method t
I agree with @polygenelubricants, but would like to point out that the telescopic pattern can be used apart from overloading. An example is in Objective-C, where method selectors (signatures) must be unique and can't be overloaded.
- (id)init {
return [self initWithParam:0];
}
- (id)initWithParam:(int)param {
// Do real initialization here!
return self;
}