Today I thought to talk about the difference between library, framework and language as many junior developers think they are one and the same.
First and for most, Language is is a set of commands, directions, and different syntax used to form a software program. It is what’s used to give the computer directions in order to meet our goals.
A framework is a platform for development, providing foundations on which you as the developer can build on. Think of it like a canvas, its ready for you to just paint on.
The difference between library and framework is what’s called inversion of control. Library allows you to control where you want to put and build your code, while a framework is already in set of the flow and has places already set for you to place your code.
Examples Include: Ruby on Rails, Angular, Vue, Express, Bootstrap, Drupal...etc.
Library is an easy one, it is literally a library that holds a collection of objects, functions, methods... anything to make your code easier to build and less clutter. They are written by other developers to make your life easier and saves you time for coding. Easy right!
I hope this helps!