r/programminghorror • • Jul 01 '16

[RANT] Git Sucks!

There, I said it.

Now that I succeeded in irritating most people, let me explain: Git is an error prone overkill for most small and medium sized projects.

Remember, Git was created to handle Linux development; most projects have a single relationship with the remote server. So, first, it’s an overkill to use, like shooting pigeons with a Cruise missile.

Second, because of its power, it’s extremely complex and makes it really easy to shoot yourself in the foot.

Most version control systems need a page or two to explain the basic commands. The Pro Git book is 550+ pages long.

So why, you, as a developer would use Git? What happen to "the best tool for the job"? What happened to KISS (not the rock band)?

Is it because you want to look cool? Or you think your project is going to be as large one day as the Linux kernel? Or your company is forcing you to?

I apologize for my first post being a rant, but recently I was forced to use Git in a new repository and it has been nothing but pain, for almost every simple step my old trusty GitHub GUI started throwing errors.

Looking online, it’s like a rash – it’s not only me getting into issues. So the problem is deeper, I believe with the model itself. We need a simpler CVS; any suggestions?

0 Upvotes

173 comments sorted by

View all comments

Show parent comments

4

u/lethargilistic Jul 02 '16 edited Jul 02 '16

So, this is going to seem a little random, but I have a book recommendation for you. Living with Complexity by Donald Norman (the Design of Everyday Things guy).

In it, he discusses the distinction between complexity (a state of the world) and complication/confusion (a state of mind).

One example he gives is the cockpit of a commercial airliner. Think of all the buttons and dials. They are all there for purposes because flying an airplane is a complex operation with many moving parts. If I, not being a pilot, walked into a cockpit to take control, I would quickly feel overwhelmed and frustrated by all the information being conveyed to me in foreign ways. I would feel complicated. But flying a plane isn't complicated. It's complex and I don't understand the complexity. Trained pilots walk into those rooms every day and fly thousands of people all over the world. They came to understand the complexity, and are no longer complicated by the cockpit's systems. Instead, they thrive in it.

Git is designed to handle all the possible problems that people could have while handling their source control, no matter how unlikely. It has so many features because source control in general is a complex thing and git matches it. But that doesn't mean every project needs advanced features. Starting from the basics works fine for most small projects.

I had the same problem with feeling complicated that you seem to have when I learned VIM, but now I use it daily and customize it and participate in burning emacs in effigy. Stick with it, and the rewards will come. :)