Monkey patching is generally considered bad practice because it can make code harder to understand and maintain. However, there are some cases where monkey patching may be necessary or useful, such as when extending or modifying the behavior of external libraries or modules.