I’m using a library that makes frequent use of patching (replacing text in source code) for dependencies. I feel this is bad form, because, for example, that dependency may now conflict irreconcilably with another dependency of mine.

Am I right in thinking patching code is bad form?

  • litchralee@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 hours ago

    If your patching an external library, please try to do what you can in the moment to formulate the patch in such a way that the upstream can accept it.

    • staircase@programming.devOP
      link
      fedilink
      arrow-up
      0
      ·
      8 hours ago

      Not sure if it’s clear, but I’m not doing the patching - my dependency is.

      Updated post to make it clearer.