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

418 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

Library is like a coffee machine – it has some functions you can use whenever you feel like it. Make me a coffee, make me a latte, give me hot water etc.
You press a button and you get an expected result. You do not know necessarily what is going on inside.

Framework is a kitchen – it contains tools and appliances you need to cook.

You need to make a coffee by hand? No problem, framework has a pan and a stove ready for you. You need to provide coffee and water though as a developer.

You need something to transfer your coffee from the container into the pan? No problem, framework’s got a spoon for you. You still gotta stir it.

Need to measure how much coffee you need? No problem, framework’s got a small scale for you. You still gotta decide what the measurement results mean for you.

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