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

402 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

A library is external code you can use

A framework is basically an over controlling library, the framework has a specific way it wants you to do something, and if you dont do it exactly that way, you are going to have a bad time

What exactly constitutes a unique language is anyone’s guess. For me, it is a language if the interpreter/compiler can handle the user code without an addon, so typescript is a language because JS throws syntax errors trying to read the code, what flutter exactly is is anyone’s guess but they claim to be a framework, so thats enough for me.

An environment however is very different. The environment is how your computer (or where you are running the code) is setup. exactly which version of which library did you have installed? any special paths/files? how about “environment variables” managed by the calling program?

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