3 ms·
> Couldn't you just add a new SendMethod optional parameter Adding an optional parameter to an already existing method is not always a backwards-compatible cha
by anton_gogolev 11y ago
> Couldn't you just add a new SendMethod optional parameter
Adding an optional parameter to an already existing method is not always a backwards-compatible change. For example, in C# this will effectively change method signature and break API.
- mistermann 11y agoHoly cow it seems it seems you're right: http://haacked.com/archive/2010/08/10/versioning-issues-with-optional-arguments.aspx/ http://haacked.com/archive/2010/08/10/versioning-issues-with... http://haacked.com/archive/2010/08/12/more-optional-versioning-fun.aspx/ http://haacked.com/archive/2010/08/12/more-optional-versioni... ...yet I've used this technique for years in VB.Net without issue....weird.