this post was submitted on 08 Nov 2023
63 points (100.0% liked)

Programming

423 readers
3 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Encromion 19 points 1 year ago (2 children)

In this thread - tons of smart people thinking that the tools we use to replace "make a backup of a file on a server somewhere" should require entire reference books, as if that's normal.

Saying "it's a graph of commits" makes no sense to a layperson. Hell the word "diff" makes no sense. Requiring training to get something right is acceptable, but "using CVS" is a tiny tiny part of the job, not the whole job. I mean, even most of the commenters on this thread are getting small things wrong (and some are handwaving it away saying "oh that small detail doesn't matter").

Look, git is hard. It's learnable, but it's hard. The concepts are medium hard to understand, and the way it does things is unique and designed for distributed, asynchronous work - which are usually hard problems to solve.

[–] sus@programming.dev 8 points 1 year ago* (last edited 1 year ago)

While I agree 100% with your main point,

"it’s a graph of commits” makes no sense to a layperson

You're probably putting your standards too low. Every coder should know what a graph is, the basic concept at least. If you can understand fizzbuzz you can understand graphs too.

the word “diff” makes no sense

diff is short for difference. And that basically explains it

[–] Vorpal@programming.dev 6 points 1 year ago

Saying “it’s a graph of commits” makes no sense to a layperson.

Sure, but git is aimed at programmers. Who should have learned graph theory in university. It was past of the very first course I had as an undergraduate many years ago.

Git is definitely hard though for almost all the reasons in the article, perhaps other reasons too. But not understanding what a DAG is shouldn't be one of them, for the intended target audience.