I don’t think your comment contributes anything useful to the conversation. Nobody sets out to write garbage code. Nobody decides to add more legacy code. However it still happens despite software developers best intention. So do you have any practical solutions to solve the problem?