Monday, February 02, 2009

To Use or Not to Use Libraries

My work lately reminds me of a comment on Slashdot long ago about the use of library. I did not keep the link of it but it goes something like this :

  1. When you make a code that will be (re)used by other developers e.g: libraries, components, avoid using third party library/framework whenever possible
  2. When you make an application that will be used by the end-user, do use libraries freely as you needed as long as you bundle them in your installer/package
I think it's a good guideline.

The first item make the second one possible. If library developers use third party libraries liberally, the application developer would have to bring all those burden along with him including potential conflict with other included libraries, and it's dependencies, and it's dependencies of dependencies. Well, you get the idea.

No comments: