this post was submitted on 08 Dec 2023
1472 points (98.3% liked)

Programmer Humor

19187 readers
1304 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 9 months ago* (last edited 9 months 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.