r/ProgrammerHumor • • Oct 21 '22

Meme Dropbox, the new git.

Post image
60.7k Upvotes

1.8k comments sorted by

View all comments

Show parent comments

91

u/speedfox_uk Oct 21 '22

The problem with putting in CS101 classes is that those are often taken by people who are just interested in coding as well as CS majors. There're no need for a physics major who is "a bit interested in computers" to learn git. It belongs in the project management classes.

But on the whole I agree, and source control the only thing missing from my degree that I think is so universal to programming jobs that it really should have been there.

37

u/EveningMoose Oct 21 '22

At my school, physics and business majors were required to take one programming class.

The absolute waste of time it would have been for me to learn git...

24

u/claythearc Oct 21 '22

It’s more useful than you’re giving it credit for. Its not super uncommon that companies will keep markdown / other documentation in a git repo. Not being super clueless on how to grab a random user guide or process document is valuable.

12

u/EveningMoose Oct 21 '22

I’ve never worked for a company that uses Git as a document control repo. Everyone i’ve worked for has had a custom portal for that. I get what you’re saying, i just think it’s a touch unrealistic.

You have to understand, non-technical people have to be able to use it too. Having a repo only programmers and engineers can use isn’t useful when 90% of your staff is machinists, customer service, and salesmen.

4

u/claythearc Oct 21 '22

It’s more common in places with air gapped networks but it’s very much a thing that you’ll see rarely.

It’s a pain to keep confluence or whatever other portal patched, and the barrier to entry of “git pull X” to view files is super low.

4

u/gonzohst93 Oct 21 '22

Git is so basic at its fundamental level that it welcomes all people regardless of techical knowledge

4

u/EveningMoose Oct 21 '22

I don’t think you understand the average user’s thought process when greeted with a black screen and a white blinking cursor.

SAP is enough of a bear to wrangle for people

4

u/gonzohst93 Oct 21 '22

SAP requires much more work to learn though compared to the basics of git. But maybe people think it's complex because programmers use it which leads to a fallacy of it being difficult

→ More replies (1)

2

u/jeremj22 Oct 21 '22

The average person doesn't know to google computer related problems.

Not gonna get very far with git without that.

→ More replies (1)

2

u/namekyd Oct 21 '22

Frankly, I think legislators should use something like git. Have you ever seen a bill? Shit is wild “section 204 of xyz law shall now read as the following: …”

Nono, that should just be a commit message to the updated legal code.

Then people could hop in, check what was amended, what it was changed from, who voted on it, etc

→ More replies (1)

0

u/[deleted] Oct 21 '22

[deleted]

3

u/EveningMoose Oct 21 '22

I’m open to suggestions and welcome being wrong — can you give me an example?

3

u/enfier Oct 21 '22

One example from IT would be storing your network security rules in git. You can see what changes were made over time, you can see what happened last Tuesday that broke an application. You could probably even do something with branches so that you can add exceptions for a particular project and then actually be able to remove them later.

Applications for physics or business would be any dataset that can be represented as mostly text or formatted text. Research datasets - update the data on the fly without breaking everyone's local work process and share things like python scripts. Even things like customer contact info could be stored in git, but a dedicated CRM solution would probably work better. Writing a research paper would be nice in git, you can have an underling write a section and then do a pull request to move it into the main paper after review.

Spreadsheets that are updated by multiple users scream the need for source control. Unfortunately, excel file types do not lend themselves to merging changes. At least that can be done with SharePoint or Teams although the vast majority of users don't understand that there is versioning happening under the surface.

→ More replies (2)
→ More replies (1)
→ More replies (1)

4

u/Thisconnect Oct 21 '22

Git and plaintext formats like latex ( I use org-mode ) are really good at not just source code. But can do notes or full documents with source control for collaboration

15

u/Anla-Shok-Na Oct 21 '22

Source control has become a fundamental concept in software development. It definitely should be covered in 100 level clases.

-4

u/ScrewAttackThis Oct 21 '22

Source control, yeah. A tutorial on git, no.

8

u/Anla-Shok-Na Oct 21 '22

If you're going to teach source control, you'll need to use something to explain it and Git is currently the industry standard.

-2

u/ScrewAttackThis Oct 21 '22 edited Oct 21 '22

How to use git is very different from teaching source control.

Git is currently the industry standard.

Do you know why? What makes it a better choice over mercurial or SVN?

Current industry standards don't matter. Otherwise you might as well argue CS degrees only teach OOP since that's also the standard. Perhaps compilers can just be a guide on running GCC even. Operating systems can just teach how to use windows

1

u/rd_bastek Oct 21 '22

Because git is by far the more marketable skill. It is used almost everywhere, so why would you not just teach them that? If you can grasp git, you can learn SVN or Mercurial when/if it becomes necessary.

Do you have a demonstrable reason why SVN or Mercurial would be better to learn than git?

1

u/ScrewAttackThis Oct 21 '22

You want a boot camp, not college.

1

u/rd_bastek Oct 21 '22

I'm sorry, I thought the whole point of college was to teach you skills that you can take into the marketplace and start a career.

And maybe I missed it, but did you mention why SVN or Mercurial are better options to learn than git? Perhaps it's because they aren't objectively better or more useful to learn and are just in fact your preference?

1

u/ScrewAttackThis Oct 21 '22

Nope. That's a vocational school.

but did you mention why SVN or Mercurial are better options to learn than git?

I never said anything was better or worse than the other. I just wanted to see if people actually understood source control which clearly you don't.

1

u/rd_bastek Oct 21 '22

Nope. That's a vocational school.

Oh I see. So what, in your opinion, is the purpose of college?

I never said anything was better or worse than the other. I just wanted to see if people actually understood source control which clearly you don't.

Interesting. I suppose of a decade of experience in the industry using both Git and SVN has given me a false sense of understanding on the subject. Mind enlightening on what exactly I'm missing?

→ More replies (0)
→ More replies (1)

2

u/mothinator Oct 21 '22

I wish more physics majors knew git. All of my data analysis software and LaTeX documents live in git. It would make collaboration so much easier if others could use it. Alas, I'm the only one who makes commits.

2

u/liometopum Oct 21 '22

A lot of STEM fields have become pretty coding heavy. I’m an ecologist and I’ve been using git with various collaborators and for personal projects for the last decade. I’ve had three different lab groups ask me to run tutorials for them. A lot of people are linking repos on GitHub with their publications to host the data, analyses, plotting scripts, etc.

Definitely not a waste of time for a scientist to have at least a basic understanding of it.

→ More replies (4)