---
title: "Discussion on \"The Difference Between a Library and a Framework\" | Hashnode"
description: "Discussion on \"The Difference Between a Library and a Framework\". Introduction\nYou’ve probably heard of the terms “library” and “framework” being often used interchangeably. This may be because they both have a similar purpose; both libraries and frameworks provide reusable code written by someone else that solves ..."
url: "https://hashnode.com/posts/the-difference-between-a-library-and-a-framework-1/5f7a33189c3b6e4101217a50"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Difference Between a Library and a Framework](https://maggiecodes.hashnode.dev/the-difference-between-a-library-and-a-framework-1?utm_source=hashnode&utm_medium=feed)

Introduction You’ve probably heard of the terms “library” and “framework” being often used interchangeably. This may be because they both have a similar purpose; both libraries and frameworks provide reusable code written by someone else that solves ...

Oct 4, 2020 · 2 min read · maggiecodes.hashnode.dev  
Read the article

-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#libraries](https://hashnode.com/tag/libraries)
-   [#frameworks](https://hashnode.com/tag/frameworks)
-   [#beginner](https://hashnode.com/tag/beginner)
-   [#the-technical-writing-bootcamp-1](https://hashnode.com/tag/the-technical-writing-bootcamp-1)

## Written by

[Maggie](https://hashnode.com/@maggiecodes)

@maggiecodes

  
[View profile](https://hashnode.com/@maggiecodes)

Software Dev | Technical Writer | Mentor | Open Source Contributor

## Responses 1

Markdown supported · ⌘↵ to post

[Dinys Monvoisin](https://hashnode.com/@dinmon)

[Oct 5, 2020](https://hashnode.com/posts/the-difference-between-a-library-and-a-framework-1/5f7a33189c3b6e4101217a50/comment/5f7aea4d7d160d41227d9216)

I don't know if the second analogy of the cake fits properly because you still need to write the code. The way you put it is like using some builder website.

Sorry, I just found it still confusing.

Also, if you could give an example of different frameworks. I would really like it if you could explain it using ReactJS framework.

[Maggie](https://hashnode.com/@maggiecodes)

[Oct 5, 2020](https://hashnode.com/posts/the-difference-between-a-library-and-a-framework-1/5f7a33189c3b6e4101217a50/comment/5f7aea4d7d160d41227d9216#reply-5f7b58eae93896601dd28d81)

Hi Dinys! Thank you for the feedback 😄 I see your point about the analogy. I’ll go back and edit it so it’s clearer.

I chose to not include code in this, since it’s geared towards beginners and understanding a concept at a general level.
