Skip to main content

Posts

Showing posts from March, 2020

Library vs Framework - What's the difference ?

In the world of programming, the difference between  Library vs Framework has always been a source of confusion and debate. Many of us are unaware  of the difference which is really important to understand during development. Consider a simple example  When you are at your home, you can eat,sit,stand,do whatever activities wherever you like. At home, there may exist some rules but its upto you whether to follow them and some or most of them are made by you. But in your school/college/office you cannot do so.You have to follow some rules and always perform the activities in a specified manner.There can be some changes in workplace but upto a very little extent.You need to behave or work in a specified manner as expected. “Who calls whom” i.e. the caller/callee relationship defines the difference between the two terms. It is our code which calls the library code.While in framework, it is the framework’s code which calls our code. Whenever we have the power to ca...