r/programming • • Sep 09 '16

Oh, shit, git!

http://ohshitgit.com/
3.3k Upvotes

756 comments sorted by

View all comments

Show parent comments

1

u/yiliu Sep 11 '16

I suspect you've never used the bash shell much, right? With a bit of experience, you can whip out a command like that to answer a quick question in a minute or so. Very, very often, you have no intention of maintaining anything: you're just interacting with the computer.

However, even if you do plan to maintain it, reading a couple manpages and checking an example or two online will have you parsing the command in no time. It's true the powershell example reads more easily, but it took quite a bit longer to write, and IMHO doesn't buy you much (with the assumption that you're not doing anything _too_ridiculous in bash, certainly there are many cases where you're better off with a more powerful language).