Libraries - Reading Assignment

we need libraries to make it easier to write a code with some common features that already exist!

1 Like

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:

  1. 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.
1 Like

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.

2 Likes
  1. 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.
1 Like

They allow us to reuse code, saving time and to also share code we have built with others.

1 Like
  1. 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.

1 Like

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

1 Like

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.

1 Like

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.

1 Like

The libraries contain functions that perform useful tasks for our web page. Furthermore, they allow us not to waste time writing code from scratch.

1 Like

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.

1 Like
  1. 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.
1 Like
  1. 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 :pray:
1 Like

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.

1 Like
  1. 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.
1 Like

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.

1 Like

We need the library’s usage for efficient work and use our creativity to implement new code chains.

1 Like
  1. 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.

1 Like

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.

1 Like