we need libraries to make it easier to write a code with some common features that already exist!
Read this small article that outlines the reason we as programmers use libraries (https://www.khanacademy.org/computing/computer-programming/html-css-js/using-js-libraries-in-your-webpage/a/whats-a-js-library).
Think about the following question when reading:
- Why do we need libraries? | We need libraries because they allow programmers to build on top of each otherâs code, so that they donât have to create their own code for every single thing.
We need libraries so that we do not have to re-write every piece of code from scratch. Libraries provide usable and reliable code that will perform a specified task that can be incorporated into an existing project.
-
Why do we need libraries?
A. A library is a JavaScript file that contains a bunch of functions, and those functions accomplish some useful task for your webpage. Libraries allow programmers to re-use existing code.
They allow us to reuse code, saving time and to also share code we have built with others.
- Why do we need libraries?
Libraries allow us to reuse code built by someone else but for a similar functionality that we need. Allows us to be more efficient with code rather than recreating the rest.
A library is a JavaScript file that contains a bunch of functions, and those functions accomplish some useful tasks for our webpage. So we can use the library to reuse the code without write them from the scratch.
Library is a JavaScript file that contains a bunch of functions, and those functions accomplish some useful task for your webpage
We donât have to write our own scripts we can use them form open source libraries
Why do we need libraries?
So we can use pre-existing code, and build on top of that pre-existing code. Less re-inventing the wheel, and more time saved.
Because itâs a waste of time to rewrite code already written by other users, especially given the fact that the code is âtried and testedâ many times before we need to implement it.
The libraries contain functions that perform useful tasks for our web page. Furthermore, they allow us not to waste time writing code from scratch.
Q: Why do we need libraries?
So we can get code a code that another programmer has written so we donât waste time writing a code already been written.
- As article said, for re-use existing code when we can, so that- we donât waste our time writing code that another programmer has already written.
- Why do we need libraries?
- In order to recycle and re-use the same code. Programmers should re-use existing code when they can, so that they donât waste time writing code that another programmer has already written.
In JavaScript, the way to do that is by using a library
Why do we need libraries?
We need libraries for efficiency and creating standard UI environments. Having reusability in coding saves a ton of time and creates familiar standards, removing the need to reinvent the wheel.
- Why do we need libraries?
Libraries are needed to save time when coding, utilising libraries allows us to implement common functions that someone else has already written a solution for.
It allows programmers to not waste time re-writing code that another programmer has already written, enabling us to implement these functions reducing the time it takes to write a program.
We need the libraryâs usage for efficient work and use our creativity to implement new code chains.
- Why do we need libraries?
We need libraries to re-use existing code, so that we donât waste our time writing code that another programmer has already written and that way we can focus in what we are developing at the moment. Itâs no need to invent the wheel again.
We need libraries so that we do not have to waste time writing all code from scratch that has already been written by someone else in an optimal way.