this post was submitted on 18 Dec 2023
709 points (96.5% liked)

Programmer Humor

18230 readers
1561 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] 90 points 6 months ago (8 children)

I don't open source my code bc I don't understand git

[–] nastyyboi 46 points 6 months ago (1 children)

So, you don't "git it"?

I'll escort myself out.

[–] [email protected] 6 points 6 months ago

Git push yourself out* to make the obvious joke

[–] HangingFruit 31 points 6 months ago

We are the same

[–] [email protected] 22 points 6 months ago
[–] [email protected] 18 points 6 months ago (2 children)

it's just linked lists of commits (except when merging)

[–] [email protected] 14 points 6 months ago* (last edited 6 months ago) (2 children)

I don't understand linked lists

[–] [email protected] 20 points 6 months ago (1 children)

In internet terms: It's just a soyjak holding a box with data who is pointing at another soyjak holding a box with data who is pointing at another {insert N-3 of the same soyjaks} soyjak with a box with data without an arm to point with

[–] ibk 5 points 6 months ago (1 children)

I don't understand what a soyjak is.

[–] [email protected] 20 points 6 months ago* (last edited 6 months ago) (1 children)
[–] [email protected] 6 points 6 months ago (1 children)

I still don't understand Git but I like this image

[–] [email protected] 5 points 6 months ago

each commit points to the one before. additionally a commit stores which lines in which files changed compared to the previous commit. a branch points to a particular commit.

[–] [email protected] 4 points 6 months ago (1 children)
[–] [email protected] 2 points 6 months ago

Almost... To be precise it's a Merkle DAG

[–] [email protected] 13 points 6 months ago

It's perfectly fine to just make a zip available

[–] [email protected] 9 points 6 months ago
[–] [email protected] 5 points 6 months ago

There's a guy out there who made a reversible NES emulator, meaning it can run games backwards and come to the correct state. He made a brilliant post on Reddit /r/programming linking his ideas for the emulator to quantum mechanics.

Then he was asked why he didn't distribute his program in git. He said that he didn't know git.

To me, that's a pretty good example of the difference between computer science and software engineering.

[–] [email protected] 1 points 6 months ago

You can open source your code just by uploading it on some kind of cloud storage and setting it as publicly available.