Some textbooks never go out of date. Physics 101 and calculus 101 haven't changed in centuries, whereas some medical textbooks have changed significantly in less than a decade. A 10 year old software programming textbook may as well get donated to a museum.