• nxdefiant@startrek.website
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    1 year ago

    Using food as the analogy:

    Food…Code

    Kitchen…Dev Environment (IDE, PC, etc)

    Serving…Deploying

    ok good so far

    When I’m done with code I’m not going to deploy yet I commit and store it on a branch in git.

    When I’m done making food that I’m not going to serve yet, I store it in a fridge or pantry.

    When I need external code, I grab it from GitHub. When I need ingredients, I grab them from the grocery store.

    So I think Food Storage, is the closest analog to git. I have local storage (pantry, fridge) that I can use to store food I have acquired.

    Which would mean the grocery store is the closest analogy, but not a restaurant. Or maybe a grocery store with a restaurant.