We need libraries because they create a reusable bundle of javascript code.
To remove the monotony of retyping code that already exists.
- So programmers donāt have to write out their own code, they can just copy and reuse someone elseās and save time.
We need them because they allow us not to write every code from scratch but istead using existing templates of codes. This way we are saving time.
we need libraries to not spend time for writing code that someone had already wrote so we can use that code for the type of functionality we need.
- Libraries are useful to keep building code on top of what others already created. In this way you avoid repeating the same work and make the process of coding more efficient.
- Developers need libraries in order to save time from writing code to solve a task that has already been created before.
1. Why do we need libraries?
a. To make life easier. This enables programmers to use existing codes instead of creating it from
scratch.
Libraries are used to reuse code in your own projects or to make it available to other users. This code should of course be cleanly documented and error-free.
- We need libraries because in this way we can save time re-using existing code when we can.
To find codes easily and reinvent the wheel again
1. Why do we need libraries?
To share code weāve written and find useful with other people. To use code other people have written and shared with the world because they found it useful. They save a lot of time.
- so that we can avoid coding things that are already coded. We can use the interactivity of someone elseās work rather than recreating it. Especially with services that we may not have the resources to recreate like google maps or stock prices.
- To save time to write a code while using libraries.
- To reuse shared codes which saves time and effort on your part. It is unnecessary to rewrite code that will function the same as someone elseās. Its about working smarter not harder!
we need libraries in order to not rewrite code that has already been written
to re use the existing code, that someone has already written
- Libraries are Javascript files that contain functions already written by other programmers and are available for free use for our webpages.
- Libraries are tremendously important for the community to share ideas and concepts. The library documents these ideas for (in many cases) open source use. (ie - donāt recreate the wheel) when you can reference work documented in these libraries.
-
Why do we need libraries?
For efficiency. We should re-use existing code when we can, so that we donāt waste our time writing code that another programmer has already written.