Libraries - Reading Assignment

First, let me define library. A library is a JavaScript file that contains a bunch of functions, and those functions accomplish some useful task for your webpage. It is a collection of ready made functions or code.

As programmers, 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. This way, we are not wasting our time.

1 Like

So that it makes it easier for you to use browser functionality. Libraries help you separate data(model) from view(presentation) and organize your code (manageable) and accomplish more by saving time.

1 Like
  1. We need libraries - to use already writen code from other developers - not to spend time to create new when we can reuse the code from library
1 Like
  1. Why do we need libraries? In order to re-use code, and avoid to re-write manually every time we need the same result
1 Like

Because other devs already coded a variety of javascript functions and functionalities and they made it publicly accessible. They can be used by linking their address on a cdn and then you can call the desired function without having to code everything from scratch yourself. Otherwise every web designer would need years to build a website.

1 Like
  • Why do we need libraries?
  • Many codes have already been written, so probably they are aswell for the same program that we would like to create. Instead of writing everything on our own from scratch we could use library to save time for ourselves and use the same code that was already written just by someone else…
1 Like

The Library or Libraries are a time saving tool that gives us information from others who needed similar code for a website.

1 Like

We need libraries to save ourselves from writing code to perform a task that somebody else has already done. to be able to save ourselves time

1 Like

Why do we need libraries?
We need libraries to reuse the code which has already been written by someone else.

1 Like

Not ot waste our time writing code that another programmer has already written.

1 Like
  1. To save time and re-use code that is already given.
1 Like

So we dont have to waste time programming something that someone else has already created.

1 Like

We need libraries so that we do not have to create and recreate each snippet of code from scratch. It is an admirable feature of the information revolution.

1 Like

We need libraries so we don’t have to rewrite or recreate code that’s already been created.

1 Like

-Why do we need libraries?
-I believe libraries where created to save time and make programmers more efficient.

1 Like

So we don’t have to reinvent the wheel every time we code something new.

1 Like

Why do we need libraries?
By definition a library is a JavaScript file that contains a bunch of functions, and those functions accomplish some useful task for your webpage.
So we need them to accomplish larger projects in a shorter period of time or much larger projects that would originally seem unfeasible now become reachable and attainable by 1 or a small group of devs since they dont have to build everything from scratch they can reach into the community library toolkit to accomplish needed tasks to get to the more complex aspect of the project.

1 Like

Answer by analogy. It’s like the only transport you have is riding a bike with a basket on it and you need to go shopping at the local grocery store and you only have so much time. It is WAY faster to have the ‘riding the bike’ program in your cerebellum preprogrammed rather than learning how to ride a bike each time or just walking to get your groceries. Thank goodness for that cerebellum, the js library of the human being, lol

1 Like
  1. Libraries can be a list of well structured and thought out functions/objects and are ideal for reusing from a programmers perspective. We need libraries, because it allows programmers to develop their program quicker and more efficiently.
1 Like

Why do we need libraries?

Developers should re-use existing code to save time, it is not logical to write same code that already exist.

1 Like