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

Maybe `git submodule` can be used as a package manager?

Few days ago I wanted to include CreativeTim’s awesome project (Light Bootstrap Dashboard), into one of my bootstrap projects. The scenario is: There is existing project, existing setup for admin dashboard, but now I want it to be more like the ‘Light Bootstrap Dashboard’. Light Bootstrap Dashboard project doesn’t offer a direct way of achieving this, there is no npm package that I can pull -or maybe what I did here, is in fact the direct way of doing it?...

November 12, 2017 · 3 min · Mohannad Najjar