Hi,
We have an 7 year old application which is in the maintainance phase.
I have recently joined the project and I keep hearing "backward compatibility of inteface".
Can someone explain to me with an example what does this means?
Thank you.
Regards
Loading
Suraj RaiPosted Dec 22, 2011, 5:12 AM
VulpesPosted Dec 22, 2011, 4:53 AM
VulpesPosted Dec 22, 2011, 4:40 AM
Suraj RaiPosted Dec 22, 2011, 1:23 AM
Hi,
Thanks a lot for the replies.
I got the meaning of backward compatibility.
But I want to know is there a way in c# to write interfaces in such a way that it will be backward
compatible and wont break the code ?
Thanks again.
Chintan RathodPosted Dec 22, 2011, 12:58 AM
Def:
A device or technology is said to be backward or downward compatible if it can work with input generated by an older device.
Meaning:
If we are producing any new version, say N, of any application or device, then it should be compatible with older version, say N-1,N-2, of the same.
For example,
First C language come, then C++, but you can see that though C++ is totally different then C language, it is capable to run C programs also.
Same like newer devices. Taking android phone versions. If device is of version 3.0, it is still capable to handle applications of 1.0, 1.5, 2.2 etc.
We can give another example like Microsoft Word (2007,2003).
Reverse of backward is forward. Forward Compatible means,taking example, Microsoft 2003 should handle Microsoft 2007 file.
Mamta MPosted Dec 22, 2011, 12:47 AM
So if your software needs to be backward compatible, it must include support for at least a few older versions. This is important so that you dont lose out on existing customers who dont want to upgrade to new versions.
For example, though today the market has Windows 7, there are many who are still using Windows XP. Such customers cannot be forced to upgrade to Windows 7, it should be their choice. But MS Office 2010 works on Windows XP. That's the power of backward compatibility.