FeatureLibraryFramework
Control FlowYou call the libraryFramework calls your code
FlexibilityHigh - use what you needLower (you follow it’s rules)
Use caseAdd a feature (e.g., HTTP request, math functions)Build entire applications (web, mobile, etc.)
LanguageLibraryFramework
PythonPandas, NumpyDjango, Flask
JavaScriptAxiosReact, Next.js
☕JavaApache CommonsSpring Framework
C#Math.NETUnity
  • When choosing a framework/library to learn, you need to choose carefully what you will learn because you will most likely take lots of time into learning 🧩 Library = Reusable Tetris blocks — you choose when and how to use them
    🧩 Framework = A Tetris board with cutouts — you must fit the blocks into the given structure

Library

  • 내가 필요한 기능을 직접 호출해서 쓰는 코드 모음
  • Libraries are usually specific to certain programming languages (Python - Pandas)
  • You bring code that you want (which someone else wrote) and add it to your project
  • Use when you need to add specific functionality
  • making ur own cafe

Framework

  • 기본 구조와 흐름이 정해져 있고, 내 코드가 프레임워크에 의해 호출됨
  • Use when you want to build structured application with less boilerplate
  • Advantage
    • It includes features that I might not have thought of
  • opening a starbucks chain