Libraries - Reading Assignment

Answer

  1. We need libraries in order to save our time as programmers. We can re-use existing code (a bunch of functions) and implement it into our projects.
1 Like

A library is a JavaScript file that contains a bunch of functions. 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.

1 Like

1. Why do we need libraries?
If you want to add some functionality and interactivity to website using JavaScript, you can search for libraries and try to find a library, which just fits your needs. Maybe the developer has put a lot of work into this library and it would take you a considerable amount of time to build this whole library new from scratch. So if you really like this library, you can read its documentation and try to figure out how to build your functionality on top of it. It is a good idea to have a brief look at the code of the library, but there is no need to understand every single line of code in it. The important thing is, that you learn to use its functions properly to implement what you desire. You can see the functions of this library as black boxes. And as long as the library functions work well, you don’t have to know how each function is working under the hood.

1 Like
  1. A library is a JavaScript file that contains a bunch of functions, and those functions accomplish some useful task for your website. Sometimes to save time we use libraries written by other developers if it suites our needs and vice versa. Others can you our library (JavaScript program) if it suites their need.
1 Like

To not have to reinvent the wheel. Re-use as much code as possible for efficient software development.

1 Like

We use libraries to save time , and reuse the existing code from the server to work effectively and efficiently .

1 Like

Why do we need libraries?

We need libraries in order to reuse past functions that have created, that way we can spend more time creating new programs instead of rewriting things that have already been done.
I love the quote from Eloquent JavaScript that said JS has become a wall of many small rocks, everyone is building on top of each others work.

1 Like

Because in the libraries we can find lots of functions, which can execute us useful tasks.
We find written codes, we can look up the available functions in the documentation, to decide which one is the optimal to use.

1 Like

So we dont have to waste time writing a code that somebody else already wrote.

1 Like

Libraries allow us to use a piece of code (think of a functionality) that was written by a different developer/s so that we do not have to spend time on creating our own. Essentially, we are reusing a code of someone else.

1 Like

“Programming is not an act of genius. It’s the art of standing on the shoulders of giants.” By using libraries to build most of your site, you can focus your attention on the true innovation you are creating.

1 Like

To reuse of code, we don’t want to reinvent the wheel every time we start with a new project.

1 Like

Glenn_CostaRica

1. Why do we need libraries?
We need libraries so we don’t have to invest heavily - both in time and money - to design and implement brand new code with functionality that already exists. Libraries contain infinity of functions already implemented, tested and perfectly functional (at least many libraries do not represent danger or vulnerability). For us to create some of these robust functions, we would need months or years in many cases. In programming, the most advisable rule to follow is to use the good code that already exists and not to redo code if it is not strictly necessary.

1 Like

We need libraries so we dont waste time on writting code, which already have been done perfectly by another programmer. In that way we can focus our time in developing new and crazy stuff.

1 Like
  1. Libraries are useful for us, since thanks to them it’s possible to avoid coding an well know functionality from the scratch. Instead of reinventing the wheel, we can focus of building custom functionalities through the use of liblaries.
1 Like

Why do we need libraries?

JavaScript libraries are collections of JS codes and function from other developers which are free to use.

The reason why do we need these libraries is they do save time in a way that, we don’t have to write own code when is already out there and to use them from the collection of online JavaScript Libraries.

2 Likes

Libraries work as a shortcut for developers.
Once you understand how a certain piece of code work you might not want to type it out every single time because it can be very time consuming and repetitive, instead you can find functional code in a library and link it to your program.

2 Likes
  1. We need libraries because they allow us to re-use existing code so that no time is lost writing code that was already written by someone.
2 Likes

Why do we need libraries? to reuse of code, make it easier

2 Likes
  1. To make the most of our time and take advantage of functions that alredy been written and tested. To re use existing code.
2 Likes