Difference between a library and a framework Howdy Reader, Most of us always get confuse with a library and framework. So I thought of clearing the confusion with the help of this post. Library A library is a reusable piece of code which you use as it comes i.e it does not provide any hooks