- We need libraries - re-use existing code when we can, so that we don’t waste our time writing code that another programmer has already written.
With libraries have the functions we need that have been writen by other developer already,developer don’t need to build everything from scratch.
We need libraries so we do not have to re-invent the wheel. Programmers before us may have written some code to accomplish a specific task. This helps us save time so we can work on our own projects.
- Libraries allow to save functions and give detail about them in a file, so a lot of time save since you don’t have to make your own function and the documentation help you easily understand what the program does.
- We need libraries in Javascript to save time and make our code more easily understandable. Copying and pasting prewritten code to accomplish your task is a valuable tool.
Why do we need libraries?
To not waste time with writing the same code that someone has already written. That way we save time
- We need libraries to allow us to use code someone else already wrote. This saves time instead of having to recreate code.
We need libraries because they save us a lot of coding time by providing ready made functions that we may need to use in our code.
We use libraries so as to not waste time writing the same code that someone has already written.
Reuse existing code so that we don’t have to write code that is already written.
- Why do we need libraries?
Libraries are good because it helps us to build upon code other users created, saving us time and energy. Consider libraries as lego pieces, each playing its own role, allowing us to piece together many parts to create what we desire.
If one programmer has created code, another can re-use it and not have to waste time programming something that already exists.
JavaScript libraries and frameworks such as jQuery and Bootstrap of which there are many to chose have become essential to programmers in working with document object model (DOM) structures called DOM trees to create and modify elements more easily. These are included in HTML documents in the HTML tag in JavaScript capable browsers. JS libraries provide collections of JS code that can be loaded into webpages providing additional functions and methods and in defining functions. These libraries contribute to time saving efficiencies, quality of work and product.
1 - Generally speaking, JavaScript libraries are collections of prewritten code, that can be used and reused to perform common JavaScript functions. Libraries make the programmer work easier.
One of the key reasons as to why we need libraries as programmers is simply because using libraries allows us to discover codes created by other programmers which could be use to us in a specific task(s) we trying to accomplish. In addition, by using such codes available for us to use it makes life a lot easier and more efficient since we wouldn’t have to write such coding ourselves.
Libraries make it easy to re use code and save time
- it makes life easier. you dont have to write the whole code by yourself
Libraries are useful/necessary because they save you a lot of time by not reinventing the wheel. It provides you functions made by other developers that you can easily integrate into your code by reading the documentation and maybe even source code. You should of course not rely on these libraries for everything as you need your way of thinking and coding, but they’re great for building on top of someone else’s code and getting things done faster.
Why do we need libraries?
- To re-use existing codes that other programmer have created to avoid wasting time writing codes from scratch with the same functionality.
Libraries, why do we need them when we are learning all of this code, doing exercises and solving problems with our own minds?!
A library is a JavaScript file that contains a bunch of functions, and those functions accomplish some useful task for your webpage.
We need libraries because many people (who are probably smarter than me writing this) have already written a lot of < code /> that has many functionalities including making your life easier as a programmer to just use tried and true code that has already been used THOUSANDS of times before. The functions in that document file probably do some pretty slick things and will save you time, so use them.
Just thank the people who came before you for allowing you to stand on their shoulders.
Happy coding!