• ysjet@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    20 hours ago

    Just to jump in here, git submodules and similar are a terrible design pattern that needs killed, not expanded. Create a library properly and stop cutting corners that will bite you in the ass.

    Three seperate companies wanting to do it the lazy, wrong way doesn’t suddenly make it a good idea.

    • FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      13 hours ago

      Libraries are now always a suitable solution. You just haven’t worked on the same projects I have and you can’t imagine all the things submodules are used for.

      On top of that, I can’t force all third party projects to turn their repos into nice easily installable packages. Especially if they’re using a language that doesn’t have a package manager.