+ 4

is there any big difference between API, library, framework?

i came across them a lot but is there really a difference.

17th Aug 2017, 8:57 AM
shobhit
shobhit - avatar
3 Respostas
+ 5
Think of a framework as an abstraction which only works when incorporated into your application, more like a skeleton whose flesh is your code. A library is a group of types which perform a particular task and you use it as a tool which you call when you need to accomplish a particular task. The API is the interface between you and the library and/or the framework (i.e. the exposed/visible methods) and it is what ties your code, the library and the framework together. Hope this makes it a little more clearer
17th Aug 2017, 9:19 PM
Garikai
Garikai - avatar
+ 6
An API (application programming interface) is a term meaning the functions/methods in a library that you can call to ask it to do things for you - the interface to the library. A framework is a group of classes, interfaces and other pre-compiled code upon which or by the use of which applications can be built.
17th Aug 2017, 9:10 AM
Ekansh
+ 4
but in the end they do same thing that is they have methods, classes, etc and help in making application then is there really a difference?
17th Aug 2017, 9:12 AM
shobhit
shobhit - avatar