My code depends on a library that makes liberal use of patching (replacing text in source code) for its own 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?

  • Feyd@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    2 days ago

    If the dependency static links the library and doesn’t use structs or classes defined in it for its interface then it is fine. If either of those are not true it is asking for trouble