In software, what’s the difference between a Framework, a Library, an Environment etc?

408 viewsOtherTechnology

I understand what a language is, stuff like Python, Java, Javascript, Swift etc. And I understand what an IDE is, it’s basically an advanced text editor tailored to helping you with writing code.

But I’m lost after that. I’ve heard that react is a framework? Is that because it’s kind of an add-on to JavaScript? If so, how is that different to a package or a Library? Or is a framework a type of library? Where do things like Spring, or Gradle or Flutter fit into this as well? Until recently, I thought Flutter was a language, but now I’m learning that the language might be Dart?

I’ve finished a full degree in Computer Science, and have been in Software Development for over a year now, but this has become no less clear to me.

In: Technology

10 Answers

Anonymous 0 Comments

Imagine you are building a sandcastle in a sandbox. A library is like a set of special tools and molds you can use to build different parts of your sandcastle. You can pick up any tool you need, like a shovel, a bucket, or a mold for making walls, and use it whenever you want.

A framework is like a pre-built structure for your sandcastle that gives you a basic shape to start with. It has spaces where you can add towers, walls, and decorations. You have to follow the rules of the framework to build your castle, but it helps you by giving you a strong starting point and some guidance on how to build it.

An environment is like the entire playground where your sandbox is. It includes the sandbox, the tools, the framework, and everything else you need to build your sandcastle. It makes sure you have a safe and fun place to play, with all the things you need in one spot.

You are viewing 1 out of 10 answers, click here to view all answers.