DEV Community

scantykneesocks
scantykneesocks

Posted on

Framework vs Library

Framework

You have to write your code by rules like saving the specific file to a specific directory or using the tag in right place etc.
If you don't it does not work.
If you use a framework your flow will be controlled by the framework(제어의 역전(IoC, Inversion of Control)).
Everybody uses frameworks because easy to catch bugs and easy to find bugs.

Library

You bring the tools whenever you want and you can choose how to use it.
If you use a library you can control the library.

Easy to understand

A framework like you have to go that space, that space has many tools and you have to use tools by that space rules.
A library likes you to bring the toolbox and use it for your purpose(Even if it looks weird).


Top comments (0)