Librarians aren't subject matter experts on these technical fields, so it is very hard for them to know if a work is still relevant. They may be inclined to keep the "Learn Excel Today (now updated for version 3.0!)" because they know people still use Excel, while the Art of Computer Programming looks like a relic from the 70s that surely can't still be relevant, right?