Good APIs as a Guessing Game: Git example

I like it in npm that we can do stuff like: npm install --save first_package second_package third_package ... With the white space as a separator. Recently I discovered that we can do the same in Git for removing multiple branches at once: git branch -d first_branch second_branch third_branch ... I’m happy I discovered this feature with guessing it only, not after searching it and reading the stackoverflow post related to it....

November 19, 2017 · 2 min · Mohannad Najjar