If monkey patching is permitted in both Ruby and Python, why is it more controversial in Ruby?

前端 未结 8 1470
一向
一向 2021-02-05 12:34

In many discussions I have heard about Ruby in which people have expressed their reservations about the language, the issue of monkey patching comes up as one of their primary c

8条回答
  •  星月不相逢
    2021-02-05 13:00

    "Does Python include different types of safeguards to minimize the risks of this feature?"

    Yes. The community refuses to do it. The safeguard is entirely social.

提交回复
热议问题