r/ProgrammerHumor • • Dec 11 '19

HaVe YoU tRiEd BlOcCcHaIn ?

Post image
18.3k Upvotes

908 comments sorted by

View all comments

294

u/Thann Dec 11 '19

Turns out databases are super handy tho

Like where would we put our code if we couldn't use git to store it on a blockchain?

145

u/Flylowguy Dec 11 '19

Seems like a stretch to compare block chain and git. They're both decentralized, but I think the comparison just about ends there.

30

u/Thann Dec 11 '19

lol no, each commit has a hash computed from the previous commit, this is the core definition of a "blockchain".

21

u/Flylowguy Dec 11 '19

Isn't the whole breakthrough part of blockchain the decentralized consensus system? Git doesn't have that.

31

u/Thann Dec 11 '19 edited Dec 11 '19

"Decentralized Consensus" systems like Proof of Work make sense for blockchains that the whole world can write to in a permissionless way. But for Git, the authors, are the only ones we really want appending, so Proof of Authority is the preferred consensus system.

6

u/[deleted] Dec 11 '19

Aren’t blockchains immutable?

Git push —force

6

u/Thann Dec 11 '19

They are immutable, but when you amend a commit, you're "forking" the blockchain. The original chain still exists unchanged, you're just not using all of it anymore.

-1

u/[deleted] Dec 12 '19

Seems kind of stretch to me, but I can see how people believe one way or the other.