‹ BackHN Continuity

Thread

Don't couple your Go code to GitHub

325 points · 177 comments · birdculture

  1. SenHeng · · focus · HN ↗
    GitHub is almost forever. Your custom domain disappears when you stop paying the bills, which if you’re an open source developer has a higher likelihood than GitHub disappearing.

    One day, we’re all going back to vendoring dependencies.

    1. otterley · · focus · HN ↗
      Why did we stop vendoring dependencies in the first place?
      1. jeremyjh · · focus · HN ↗
        I think its a good question. The short answer is: because tooling doesn't default to this or make it easy.

        The answer to the question of why THAT is the case - is not so easy to answer. The main benefit I can see with using lock files instead of vendoring is that it saves a lot of storage and diff history from entering your repository. So clones are much faster, backups smaller etc.

        I think Go used to work this way (automated vendoring) but it’s the only language I can think of that ever did in terms of standard tooling. It would be instructive to learn why that changed.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.