We need libraries so we could reuse existing code and save time. Libraries contain a bunch of functions and objects that accomplish some useful task for our webpage. Always look at the documentation.
- Efficiency and practicality. We can reuse code, saves time and work
- re-use existing code
- To re-use already written code and to avoid spending double time on re-writing code that has already been writen by other programmers probably with a sweet documentation to get the fullest out of this library.
We need libraries so we don’t have to recreate code that someone has already created and is willing to share.
A library is a JavaScript file that contains a bunch of functions, and those functions accomplish some useful task for your webpage. -https://www.khanacademy.org/computing/computer-programming/html-css-js/using-js-libraries-in-your-webpage/a/whats-a-js-library
Libraries are useful because they store reusable code that programmers can share etc.
Why do we need libraries? To reuse existing, proven code, and to save time developing your application.
We need libraries so that we don’t have to spend time writing code that has already been written, or written enough so that all we would have to do is alter it to suit our needs.
- Saves time!!!
Why do we need libraries? To save time on creating something that is already available, and is probably commonly used.
Why do we need libraries?
It is a way for programmers to re-use existing JavaScript code, instead of wasting time writing code that has already been written.
because knowing about libraries will help us save time by using code written by others, there are many sources for libraries and many versions too, having knowledge of this will save a lot of time since we don’t have to rewrite and debug any of that code
- It helps us to reuse code that has already been written thereby saving us time to focus on our own code.
We need libraries to be able to reuse code that has already be written, when we can. They provide nice features and allow us to save time when we code. As mentioned in the article, using a slideshow is a good example, because it is much better to take advantage of code that has already been written, and nicely done, instead of wasting time and trying to reinvent the wheel.
As a programmer, we may reuse the existing code written by some other programmer. Therefore we may utilise our time and effort in some other task rather than wasting our time on the code that is readily available. In Javascript, the way we use this is by using library. Library is a javascript file that contains some functions that can accomplish useful tasks for webpage.
- Why do we need libraries?
We need libraries in order to not waste time writing code that another programmer has already written. Libraries are JavaScript files that contain pre-written functions that do some useful tasks. When we implement library in our code, we are re-using existing code that we know it does something that we need for our webpage.
- To use premade code and functions to save time.
Why do we need libraries?
To save time and not write our own code when another programmer already written it.
We use libraries for getting code created by someone els and then using it.
Why do we need libraries?
To re-use existing code which has been programmed. This allows to focus on the specific code for our needs and not wast time.