Maintaining a software program written by a set of people who no longer work at a company is a tough proposition for anyone.

This behooves developers to write code that can be easily understood and follows clean coding guidelines.

As the popular saying goes:

Always code as if the person who ends up maintaining your code is a violent psychopath who knows where you live.