3 ms·
Why bother deprecating things if they aren’t ever going to be removed? With deprecate and remove them after a reasonable time or don’t bother.
by cratermoon 3y ago
Why bother deprecating things if they aren’t ever going to be removed? With deprecate and remove them after a reasonable time or don’t bother.
- arp242 3y agoYou can discourage people from using it while still maintaining compatibility. I have a Go library with some functions that have been deprecated since Go 1.1 (2013); they're just some aliases or wrappers for the newer symbols. They will stay there forever until I have enough reason to release a v2 (which may be never). POSIX also includes plenty of legacy/deprecated stuff like mktemp() that will likely never be removed. A CLI is a public interface; breaking compatibility is kinda bad.
- JdeBP 3y agoThe complainant who set this off (by filing a GNU bug report) said the same. Ironically, several people missed that one of xyr acceptable outcomes was just removing the claim about deprecation from the manual page.