Sample Header Ad - 728x90

How to name a newer version of command, which is not fully compatible with old version

0 votes
0 answers
15 views
I have two versions of the same command. The newer version is not fully backward compatible with the old version. Should I add version number to the command name in this case like so /usr/bin/foo /usr/bin/foo-2 Where foo-2 is the new version (2.0), or is there some other deployment strategy? This alternative would break if the old version becomes obsolte, and foo now actually is foo-2. How to deal with that.
Asked by user877329 (761 rep)
May 2, 2021, 09:55 AM