And in exceptional cases, your similar program will be just different enough in a few key ways that it will open up new use cases.
Redis is just a hashmap (and LRU). A load balancer is also just a hashmap (and routing). There are plenty of interesting questions about which particular hashmaps to use in each case.